All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
cop::Class Class Reference

Class represents high level descriptions of objects in the signature database, it is part of the Elem hirarchy. More...

#include <Class.h>

Inheritance diagram for cop::Class:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Class ()
 Class (std::string name, int id)
 Class (XMLTag *tag)
virtual ElemDuplicate (bool staticcopy)
std::string GetName ()
virtual std::string GetNodeName () const
virtual ElemType_t GetType ()
 returns the element specialisation
void SetName (std::string name)
virtual ~Class ()

Protected Member Functions

virtual void SaveTo (XMLTag *tag)
virtual void SetData (XMLTag *tag)

Private Attributes

std::string m_name

Detailed Description

Class represents high level descriptions of objects in the signature database, it is part of the Elem hirarchy.

class Class Nodename: XML_NODE_CLASS "Class" Saves the semantic connection with highlevel for Descriptor and Signature
Attributes: XML_ATTRIBUTE_CLASSNAME "ClassName" The actual value that could be queried by highlevel

Definition at line 48 of file Class.h.


Constructor & Destructor Documentation

Empty Constructor

Definition at line 35 of file Class.cpp.

Class::Class ( std::string  name,
int  id 
)

Definition at line 40 of file Class.cpp.

Class::~Class ( ) [virtual]

Empty Destructor

Definition at line 70 of file Class.cpp.


Member Function Documentation

Elem * Class::Duplicate ( bool  bStaticCopy) [virtual]

Duplicates an elem (only possible for elems that can be constructed with ElemFactory or that have overriden this member)

Reimplemented from cop::Elem.

Definition at line 87 of file Class.cpp.

std::string cop::Class::GetName ( ) [inline]

Definition at line 73 of file Class.h.

virtual std::string cop::Class::GetNodeName ( ) const [inline, virtual]

returns the name that a will be used in the xml. This should be replaced by any derivative of Elem

Reimplemented from cop::Elem.

Definition at line 69 of file Class.h.

virtual ElemType_t cop::Class::GetType ( ) [inline, virtual]

returns the element specialisation

GetType

Definition at line 78 of file Class.h.

void Class::SaveTo ( XMLTag ) [protected, virtual]

Overwrite to save additional data, will be called during saving

Reimplemented from cop::Elem.

Definition at line 76 of file Class.cpp.

void Class::SetData ( XMLTag data) [protected, virtual]

Overwrite to set additional data on creation, will be called directly after creation

Reimplemented from cop::Elem.

Definition at line 53 of file Class.cpp.

void Class::SetName ( std::string  name)

Definition at line 82 of file Class.cpp.


Member Data Documentation

std::string cop::Class::m_name [private]

Definition at line 105 of file Class.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 07:38:35