Logo Search packages:      
Sourcecode: cableswig version File versions  Download package

cable::Class Class Reference

#include <cableClass.h>

Inheritance diagram for cable::Class:

cable::Context cable::Named cable::SourceObject cable::Object cable::Struct cable::Union

List of all members.


Detailed Description

Represent a class.

Definition at line 32 of file cableClass.h.


Public Types

enum  Access { Public, Protected, Private }
typedef SmartPointer< SelfPointer
typedef Object Self

Public Member Functions

void AddBaseClass (Class *c)
virtual void AddNamed (Named *, Access access)
Iterator Begin () const
 cableTypeMacro (SourceObject, Object)
 cableTypeMacro (Named, SourceObject)
 cableTypeMacro (Context, Named)
 cableTypeMacro (Class, Context)
Iterator End () const
bool GetAbstract () const
Context::Access GetAccess () const
void GetAllBaseClasses (std::vector< Class * > &) const
void GetBaseClasses (std::vector< Class * > &) const
ClassTypeGetClassType () const
ContextGetContext () const
const cxx::ClassTypeGetCxxClassType (cxx::TypeSystem *ts) const
const char * GetFile () const
unsigned long GetLine () const
const char * GetName () const
virtual const char * GetNameOfClass () const
String GetQualifiedName () const
bool HasPublicCopyConstructor () const
bool IsCopyConstructor (const Method *m) const
 Iterator (const Iterator &r)
Iterator LowerBound (const char *name) const
bool operator!= (const Iterator &r) const
Namedoperator* () const
Iterator & operator++ ()
bool operator== (const Iterator &r) const
void Print (std::ostream &os, Indent indent) const
virtual void Register ()
void SetAbstract (bool abstract)
void SetClassType (ClassType *type)
void SetContext (Context *context)
void SetFile (const char *file)
void SetLine (unsigned long line)
void SetName (const char *name)
virtual void Unregister ()
Iterator UpperBound (const char *name) const

Static Public Member Functions

static Pointer New ()
static const ObjectSafeDownCast (const Object *obj)
static ObjectSafeDownCast (Object *obj)

Protected Member Functions

 Iterator (const MemberMapIterator &i)
void PrintMembers (std::ostream &os, Indent indent) const

Protected Attributes

bool m_Abstract
BaseClassVector & m_BaseClassVector
ClassTypem_ClassType
Contextm_Context
String m_File
unsigned long m_Line
MemberMap & m_MemberMap
MemberMapIterator & m_MemberMapIterator
String m_Name
int m_ReferenceCount

Private Member Functions

 Class (const Self &)
void operator= (const Self &)

Friends

class Iterator
class MemberMapIterator

Classes

class  BaseClassVector

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

Generated by  Doxygen 1.6.0   Back to index