FSMSADF::Memory Class Reference

#include <memory.h>

Inheritance diagram for FSMSADF::Memory:
Collaboration diagram for FSMSADF::Memory:

List of all members.

Public Member Functions

 Memory (GraphComponent c)
 ~Memory ()
Memorycreate (GraphComponent c) const
MemorycreateCopy (GraphComponent c) const
Memoryclone (GraphComponent c) const
void constructFromXML (const CNodePtr memoryNode)
void convertToXML (const CNodePtr memoryNode)
Size getSize () const
void setSize (const Size sz)
TilegetTile () const

Private Attributes

Size size

Detailed Description

Memory Container for tile memory.


Constructor & Destructor Documentation

Memory::Memory ( GraphComponent  c  ) 

Memory() Constructor.

Referenced by create().

Memory::~Memory (  ) 

~Memory() Destructor.


Member Function Documentation

Memory * Memory::clone ( GraphComponent  c  )  const

clone() The function returns a new memory object and copies all properties, but when the parent of the graph component c and this object are different, all pointers are relocated.

References createCopy().

Here is the call graph for this function:

void Memory::constructFromXML ( const CNodePtr  memoryNode  ) 

constructFromXML() Load all properties of this memory from the supplied XML node.

References CGetAttribute(), CHasAttribute(), FSMSADF::GraphComponent::setName(), and setSize().

Referenced by FSMSADF::Tile::constructFromXML().

Here is the call graph for this function:

void Memory::convertToXML ( const CNodePtr  memoryNode  ) 

convertToXML() Add all properties of this memory to the supplied XML node.

References CAddAttribute(), FSMSADF::GraphComponent::getName(), and getSize().

Here is the call graph for this function:

Memory * Memory::create ( GraphComponent  c  )  const

create() The function returns a new memory object.

References Memory().

Referenced by createCopy().

Here is the call graph for this function:

Memory * Memory::createCopy ( GraphComponent  c  )  const

createCopy() The function returns a new memory object and copies all properties.

References create(), FSMSADF::GraphComponent::getName(), getSize(), FSMSADF::GraphComponent::setName(), and setSize().

Referenced by clone().

Here is the call graph for this function:

void FSMSADF::Memory::setSize ( const Size  sz  )  [inline]

References size.

Referenced by constructFromXML(), and createCopy().


Member Data Documentation

Referenced by getSize(), and setSize().


The documentation for this class was generated from the following files: