|
Public Types |
enum | MType { System = 1,
User = 2
} |
enum | CompIdx {
Variable_C,
Method_C,
TrigCreateBefore_C,
TrigCreateAfter_C,
TrigUpdateBefore_C,
TrigUpdateAfter_C,
TrigLoadBefore_C,
TrigLoadAfter_C,
TrigRemoveBefore_C,
TrigRemoveAfter_C,
ComponentCount_C
} |
enum | AttrCompIdx {
UniqueConstraint_C,
NotnullConstraint_C,
CardinalityConstraint_C,
Index_C,
CollectionImpl_C,
AttrComponentCount_C
} |
Public Member Functions |
| Class (const char *s, Class *p=NULL) |
| Not yet documented.
|
| Class (const char *s, const Oid *poid) |
| Not yet documented.
|
| Class (Database *db, const char *s, Class *p=NULL) |
| Not yet documented.
|
| Class (Database *db, const char *s, const Oid *poid) |
| Not yet documented.
|
| Class (const Class &cl) |
| Not yet documented.
|
virtual Object * | clone () const |
| Not yet documented.
|
Class & | operator= (const Class &cl) |
| Not yet documented.
|
const char * | getName () const |
| Not yet documented.
|
virtual const char * | getCName (Bool useAsRef=False) const |
| Not yet documented.
|
unsigned int | getNum () const |
| Not yet documented.
|
virtual Status | setName (const char *s) |
| Not yet documented.
|
Class * | getParent () |
| Not yet documented.
|
const Class * | getParent () const |
| Not yet documented.
|
Status | getParent (Database *db, Class *&rparent) |
| Not yet documented.
|
Schema * | getSchema () |
| Not yet documented.
|
const Schema * | getSchema () const |
| Not yet documented.
|
virtual Status | setDatabase (Database *mdb) |
| Not yet documented.
|
Status | getExtent (Collection *&extent, Bool reload=False) const |
| Not yet documented.
|
Status | getComponents (Collection *&components, Bool reload=False) const |
| Not yet documented.
|
Status | setExtentImplementation (const IndexImpl *idximpl) |
| Not yet documented.
|
IndexImpl * | getExtentImplementation () const |
| Not yet documented.
|
Size | getIDRObjectSize () const |
| Not yet documented.
|
Size | getIDRObjectSize (Size *psize, Size *vsize=0, Size *isize=0) const |
| Not yet documented.
|
Status | add (ClassComponent *comp, Bool incrRefCount=True) |
| Not yet documented.
|
Status | add (unsigned int w, ClassComponent *comp, Bool incrRefCount=True) |
| Not yet documented.
|
Status | add (unsigned int w, AttributeComponent *comp) |
| Not yet documented.
|
Status | suppress (unsigned int w, ClassComponent *comp) |
| Not yet documented.
|
Status | suppress (unsigned int w, AttributeComponent *comp) |
| Not yet documented.
|
Status | suppress (ClassComponent *comp) |
| Not yet documented.
|
Status | getDefaultInstanceDataspace (const Dataspace *&instance_dataspace) const |
| Not yet documented.
|
Status | setDefaultInstanceDataspace (const Dataspace *instance_dataspace) |
| Not yet documented.
|
Status | getInstanceLocations (ObjectLocationArray &locarr, Bool include_subclasses=False) |
| Not yet documented.
|
Status | moveInstances (const Dataspace *dataspace, Bool include_subclasses=False) |
| Not yet documented.
|
Bool | isSystem () const |
| Not yet documented.
|
Class::MType | getMType () const |
| Not yet documented.
|
virtual Class * | asClass () |
| Not yet documented.
|
virtual const Class * | asClass () const |
| Not yet documented.
|
Status | setValue (Data) |
| Not yet documented.
|
Status | getValue (Data *) const |
| Not yet documented.
|
virtual Object * | newObj (Database *=NULL) const |
virtual Object * | newObj (Data, Bool _copy=True) const |
virtual Status | create () |
| Not yet documented.
|
virtual Status | update () |
| Not yet documented.
|
virtual Status | remove (const RecMode *=RecMode::NoRecurs) |
| Not yet documented.
|
virtual Status | trace (FILE *fd=stdout, unsigned int flags=0, const RecMode *recmode=RecMode::FullRecurs) const |
| Not yet documented.
|
Bool | compare (const Class *cl) const |
| Not yet documented.
|
Bool | compare_l (const Class *cl) const |
| Not yet documented.
|
Status | isSuperClassOf (const Class *cl, Bool *is) const |
| Not yet documented.
|
Status | isSubClassOf (const Class *cl, Bool *is) const |
| Not yet documented.
|
Status | getSubClasses (Class **&subclasses, unsigned int &subclass_count, Bool sort_down_to_top=True) const |
| Not yet documented.
|
Status | isObjectOfClass (const Object *o, Bool *is, Bool issub) const |
| Not yet documented.
|
Status | isObjectOfClass (const Oid *o_oid, Bool *is, Bool issub, Class **po_class=NULL) const |
| Not yet documented.
|
unsigned int | getAttributesCount (void) const |
| Not yet documented.
|
const Attribute * | getAttribute (unsigned int n) const |
| Not yet documented.
|
const Attribute * | getAttribute (const char *nm) const |
| Not yet documented.
|
virtual Status | setAttributes (Attribute **agr, unsigned int base_n) |
| Not yet documented.
|
const Attribute ** | getAttributes (unsigned int &cnt) const |
| Not yet documented.
|
const Attribute ** | getAttributes () const |
| Not yet documented.
|
Status | getComp (const char *mcname, ClassComponent *&comp) const |
| Not yet documented.
|
Method ** | getMethods (unsigned int &mth_cnt) |
| Not yet documented.
|
const Method ** | getMethods (unsigned int &mth_cnt) const |
| Not yet documented.
|
Status | getMethod (const char *name, Method *&mth, Signature *sign=0) |
| Not yet documented.
|
Status | getMethod (const char *name, const Method *&mth, Signature *sign=0) const |
| Not yet documented.
|
unsigned int | getMethodCount () const |
| Not yet documented.
|
Status | getMethodCount (const char *name, unsigned int &cnt) const |
| Not yet documented.
|
Trigger ** | getTriggers (unsigned int &cnt) |
| Not yet documented.
|
const Trigger ** | getTriggers (unsigned int &cnt) const |
| Not yet documented.
|
ClassVariable ** | getVariables (unsigned int &cnt) |
| Not yet documented.
|
const ClassVariable ** | getVariables (unsigned int &cnt) const |
| Not yet documented.
|
Status | getVariable (const char *name, ClassVariable *&rvar) |
| Not yet documented.
|
Status | getVariable (const char *name, const ClassVariable *&rvar) const |
| Not yet documented.
|
virtual Status | generateCode_Java (Schema *, const char *prefix, const GenCodeHints &, FILE *) |
virtual Status | checkInverse (const Schema *) const |
const LinkedList * | getCompList () const |
| Not yet documented.
|
const LinkedList * | getCompList (CompIdx idx) const |
| Not yet documented.
|
Status | getAttrComp (const char *mcname, AttributeComponent *&comp) const |
| Not yet documented.
|
Status | getAttrCompList (const LinkedList *&list) |
| Not yet documented.
|
Status | getAttrCompList (AttrCompIdx idx, const LinkedList *&list) |
| Not yet documented.
|
virtual int | genODL (FILE *fd, Schema *m) const |
| Not yet documented.
|
Bool | isFlatStructure () const |
| Not yet documented.
|
virtual | ~Class () |
| Not yet documented.
|
Status | manageDataspace (short dspid) |
void | setInstanceDspid (short dspid) |
short | get_instdspid () const |
void | setSchema (Schema *_sch) |
virtual Status | compile (void) |
const char * | getAliasName () const |
const char * | getStrictAliasName () const |
void | setAliasName (const char *_aliasname) |
const char * | getCanonicalName () const |
void | setCanonicalName (const char *_canonname) |
Status | setInSubClasses (ClassComponent *, Bool) |
unsigned int | getMagorder () const |
void | unmakeAttrCompList () |
virtual Status | postCreate () |
Bool | isRootClass () const |
void | setIsRootClass () |
Status | setup (Bool, Bool=False) |
virtual void | revert (Bool) |
void | setTiedCode (char *) |
char * | getTiedCode () |
virtual Status | createComps () |
void | setExtentCompOid (const Oid &, const Oid &) |
void | setPartiallyLoaded (Bool _partially_loaded) |
void | setExtentImplementation (const IndexImpl *, Bool) |
Bool | compare (const Class *cl, Bool compClassOwner, Bool compNum, Bool compName, Bool inDepth) const |
Bool | isAttrsComplete () const |
Bool | isSetupComplete () const |
Bool | isPartiallyLoaded () const |
virtual Status | attrsComplete () |
Status | setupComplete () |
virtual Status | loadComplete (const Class *) |
Status | wholeComplete () |
void | setSetupComplete (Bool _setup_complete) |
| Class (const Oid &, const char *) |
Status | clean (Database *db) |
virtual void | decode (void *hdata, const void *xdata, Size incsize, unsigned int nb=1) const |
virtual void | encode (void *xdata, const void *hdata, Size incsize, unsigned int nb=1) const |
virtual int | cmp (const void *xdata, const void *hdata, Size incsize, unsigned int nb=1) const |
Static Public Member Functions |
static Bool | isClass (Database *db, const Oid &cl_oid, const Oid &oid) |
| Not yet documented.
|
static void | init (void) |
static void | _release (void) |
static const char * | getSCName (const char *) |
static Status | makeClass (Database *db, const Oid &oid, int, const char *, Bool &, Class *&cl) |
static const char * | classNameToCName (const char *name) |
static EnumClass * | makeBoolClass () |
static Bool | isBoolClass (const char *) |
static Bool | isBoolClass (const Class *cls) |
Static Public Attributes |
static int | RemoveInstances = 0x12 |
Protected Member Functions |
virtual Bool | compare_perform (const Class *cl, Bool compClassOwner, Bool compNum, Bool compName, Bool inDepth) const |
virtual void | garbage () |
Status | setNameRealize (const char *) |
Status | trace_comps (FILE *, int, unsigned int, const RecMode *) const |
Status | trace_common (FILE *, int, unsigned int, const RecMode *) const |
void | free_items () |
virtual Status | trace_realize (FILE *, int, unsigned int, const RecMode *) const |
Status | check_items (Attribute **, int) |
void | setPName (const char *) |
void | codeExtentCompOids (Size) |
Protected Attributes |
Class * | parent |
char * | name |
char * | aliasname |
char * | canonname |
const Dataspace * | instance_dataspace |
short | instance_dspid |
Bool | mustCreateComps |
IndexImpl * | idximpl |
Size | idr_psize |
Size | idr_vsize |
Size | idr_inisize |
Size | idr_objsz |
Bool | attrs_complete |
Oid | parent_oid |
Oid | coll_oid |
Collection * | extent |
Collection * | components |
LinkedList * | complist |
LinkedList * | clist [ComponentCount_C] |
LinkedList * | attr_complist |
LinkedList * | attr_clist [AttrComponentCount_C] |
MType | m_type |
Bool | items_set |
unsigned int | items_cnt |
Attribute ** | items |
Bool | isFlat |
Bool | isFlatSet |
Friends |
class | Schema |
class | ClassPeer |