kig
HierarchyImp Class Reference
#include <bogus_imp.h>
Inheritance diagram for HierarchyImp:

Detailed Description
Definition at line 203 of file bogus_imp.h.
Public Types | |
| typedef BogusImp | Parent |
Public Member Functions | |
| HierarchyImp (const ObjectHierarchy &h) | |
| const ObjectHierarchy & | data () const |
| void | setData (const ObjectHierarchy &h) |
| HierarchyImp * | copy () const |
| const char * | baseName () const |
| const ObjectImpType * | type () const |
| void | visit (ObjectImpVisitor *vtor) const |
| bool | equals (const ObjectImp &rhs) const |
Static Public Member Functions | |
| static const ObjectImpType * | stype () |
Member Typedef Documentation
| typedef BogusImp HierarchyImp::Parent |
Constructor & Destructor Documentation
| HierarchyImp::HierarchyImp | ( | const ObjectHierarchy & | h | ) |
Definition at line 108 of file bogus_imp.cc.
Member Function Documentation
| const ObjectImpType * HierarchyImp::stype | ( | ) | [static] |
Returns the ObjectImpType representing the BogusImp type.
Reimplemented from BogusImp.
Definition at line 227 of file bogus_imp.cc.
| const ObjectHierarchy& HierarchyImp::data | ( | ) | const [inline] |
Definition at line 213 of file bogus_imp.h.
| void HierarchyImp::setData | ( | const ObjectHierarchy & | h | ) | [inline] |
Definition at line 214 of file bogus_imp.h.
| HierarchyImp * HierarchyImp::copy | ( | ) | const [virtual] |
Returns a copy of this ObjectImp.
The copy is an exact copy. Changes to the copy don't affect the original.
Implements ObjectImp.
Definition at line 113 of file bogus_imp.cc.
| const char* HierarchyImp::baseName | ( | ) | const |
| const ObjectImpType * HierarchyImp::type | ( | ) | const [virtual] |
Returns the lowermost ObjectImpType that this object is an instantiation of.
E.g. if you want to get a string containing the internal name of the type of an object, you can do:
std::string typename = object.type()->internalName();
Implements ObjectImp.
Definition at line 260 of file bogus_imp.cc.
| void HierarchyImp::visit | ( | ObjectImpVisitor * | vtor | ) | const [virtual] |
| bool HierarchyImp::equals | ( | const ObjectImp & | rhs | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference