• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

HierarchyImp Class Reference

#include <bogus_imp.h>

Inheritance diagram for HierarchyImp:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 203 of file bogus_imp.h.


Public Types

typedef BogusImp Parent

Public Member Functions

const char * baseName () const
HierarchyImp * copy () const
const ObjectHierarchy & data () const
bool equals (const ObjectImp &rhs) const
 HierarchyImp (const ObjectHierarchy &h)
void setData (const ObjectHierarchy &h)
const ObjectImpType * type () const
void visit (ObjectImpVisitor *vtor) const

Static Public Member Functions

static const ObjectImpType * stype ()

Member Typedef Documentation

typedef BogusImp HierarchyImp::Parent

Reimplemented from BogusImp.

Definition at line 209 of file bogus_imp.h.


Constructor & Destructor Documentation

HierarchyImp::HierarchyImp ( const ObjectHierarchy &  h  ) 

Definition at line 108 of file bogus_imp.cc.


Member Function Documentation

const char* HierarchyImp::baseName (  )  const

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 ObjectHierarchy& HierarchyImp::data (  )  const [inline]

Definition at line 213 of file bogus_imp.h.

bool HierarchyImp::equals ( const ObjectImp &  rhs  )  const [virtual]

Returns true if this ObjectImp is equal to rhs.

This function checks whether rhs is of the same ObjectImp type, and whether it contains the same data as this ObjectImp.

Implements ObjectImp.

Definition at line 181 of file bogus_imp.cc.

void HierarchyImp::setData ( const ObjectHierarchy &  h  )  [inline]

Definition at line 214 of file bogus_imp.h.

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 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]

Implements ObjectImp.

Definition at line 138 of file bogus_imp.cc.


The documentation for this class was generated from the following files:
  • bogus_imp.h
  • bogus_imp.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal