Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Declaration of usefull macros. More...
#include <ilviews/macros.h>
#include <ilviews/base/gcontext.h>
Defines | |
#define | IlvMapsDeclareProjectionIO(className) |
Declare all functions and data members to support persistence. | |
#define | IlvMapsDefineBasicProjectionIO(className,superClassName,projectionName,constructorStatement,initializationStatement) |
Defines a default implementation of projection IO features. | |
#define | IlvMapsDefineProjectionIO(className,superClassName,projectionName,constructorStatement,initializationStatement) |
Defines a default implementation of projection IO features. | |
#define | IlvMapsInitProjectionIO(className) |
Initialize projection IO features. | |
Functions | |
void | IlvMapsEmptyStatement () |
A default empty statement. |
Declaration of usefull macros.
[library ilvmaps ilviews/maps/macros.h]
#define IlvMapsDeclareProjectionIO | ( | className | ) |
Declare 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
and IlvMapsDefineBasicProjectionIO
macros.
© Copyright 2012, 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.