Rogue Wave Views |
Rogue Wave Views Documentation Home |
Declaration of Rogue Wave Views Maps dedicated macros. More...
Macros | |
#define | IlvMapsDeclareProjectionIO(className) |
Declares all functions and data members to support persistence. More... | |
#define | IlvMapsDefineBasicProjectionIO(className,superClassName,projectionName,constructorStatement,initializationStatement) |
Defines a default implementation of projection IO features. More... | |
#define | IlvMapsDefineProjectionIO(className,superClassName,projectionName,constructorStatement,initializationStatement) |
Defines a default implementation of projection IO features. More... | |
#define | IlvMapsInitProjectionIO(className) |
Initialize projection IO features. More... | |
Functions | |
void | IlvMapsEmptyStatement () |
A default empty statement. More... | |
Declaration of Rogue Wave Views Maps dedicated macros.
Library: ilvmaps
#define IlvMapsDeclareProjectionIO | ( | className | ) |
Declares all functions and data members to support persistence.
Use this macro in the declaration of a projection class. It generates all necessary functions and data members to support persistence.
className | The class name. |
#define IlvMapsDefineBasicProjectionIO | ( | className, | |
superClassName, | |||
projectionName, | |||
constructorStatement, | |||
initializationStatement | |||
) |
Defines a default implementation of projection IO features.
This is the same macro as IlvMapsDefineProjectionIO()
, but it is used for projections that do not save any additional data. It also generates the code for the stream constructor.
className | The name of the projection class. |
superClassName | The name of the superclass of the projection. |
projectionName | The name of the projection. This name is used to initialize the IlvProjectionClassInfo's projection name. |
constructorStatement | The statement used to create a new instance of the projection. This statement will be used by the IlvProjectionDictionary::CreateFunction() method to create instances of the projection class. |
initializationStatement | Any statement that you need to execute during the projection class initialization. This statement is generally used to initialize the accessors or to register new error messages. If no statement is required for your class, you can use the IlvMapsEmptyStatement() function here. |
#define IlvMapsDefineProjectionIO | ( | className, | |
superClassName, | |||
projectionName, | |||
constructorStatement, | |||
initializationStatement | |||
) |
Defines a default implementation of projection IO features.
Use this macro in the implementation file of a projection to enable the initialization of the projection IO features.
className | The name of the projection class. |
superClassName | The name of the superclass of the projection. |
projectionName | The name of the projection. This name is used to initialize the IlvProjectionClassInfo's projection name. |
constructorStatement | The statement used to create a new instance of the projection. This statement will be used by the IlvProjectionDictionary::CreateFunction() method to create instances of the projection class. |
initializationStatement | Any statement that you need to execute during the projection class initialization. This statement is generally used to initialize the accessors or to register new error messages. If no statement is required for your class, you can use the IlvMapsEmptyStatement function here. |
#define IlvMapsInitProjectionIO | ( | className | ) |
Initialize projection IO features.
Use this macro in the header file of a projection, after the class declaration, to enable the initialization of the projection IO features.
className | The class name. |
void IlvMapsEmptyStatement | ( | ) |
A default empty statement.
A default empty statement that can be used in the IlvMapsDefineProjectionIO()
IlvMapsDefineBasicProjectionIO()
macros.
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.