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

cable::Struct Class Reference

#include <cableStruct.h>

Inheritance diagram for cable::Struct:

cable::Class cable::Context cable::Named cable::SourceObject cable::Object

List of all members.

Detailed Description

Represent a struct.

Definition at line 26 of file cableStruct.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)
 cableTypeMacro (Struct, 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
String m_File
unsigned long m_Line
MemberMap & m_MemberMap
MemberMapIterator & m_MemberMapIterator
String m_Name
int m_ReferenceCount

Private Member Functions

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


class Iterator
class MemberMapIterator

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

Generated by  Doxygen 1.6.0   Back to index