SPModel: VMake/Component-meta-template.c File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Component-meta-template.c File Reference

Go to the source code of this file.

Defines

#define Stg_Component_Stringify(str)   #str
#define Stg_Component_Metadata_Create(name)   Stg_Component_Metadata_Create_Macro( name )
#define Stg_Component_Metadata_Create_Macro(name)


Define Documentation

#define Stg_Component_Metadata_Create name   )     Stg_Component_Metadata_Create_Macro( name )
 

Definition at line 34 of file Component-meta-template.c.

#define Stg_Component_Metadata_Create_Macro name   ) 
 

Value:

const char* name ##_Meta = XML_METADATA; \
    const char* name ##_Name = #name; \
    const char* name ##_Version = VERSION; \
    const char* name ##_Type_GetMetadata() { /* hack...won't be needed when hierarchy rollout is done */\
        return name ##_Meta; \
    } \
    const char* name ##_GetMetadata() { \
        return name ##_Meta; \
    } \
    const char* name ##_GetName() { \
        return name ##_Name; \
    } \
    const char* name ##_GetVersion() { \
        return name ##_Version; \
    }

Definition at line 35 of file Component-meta-template.c.

#define Stg_Component_Stringify str   )     #str
 

Definition at line 31 of file Component-meta-template.c.