This module provides new keywords for the language.
This section allows you to access the C++ source files of the module.
The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.
The macrocommands listed below can be used without specifying the namespace where they have been defined. That means you can not define an element by your own that have the same name.
and
Replaces &&
.
not
Replaces !
.
or
Replaces ||
.
commentary(prLine)
Used to write a commentary. prLine
is not integrated into the source code.
constructor
Nothing. Used to indicate more clearly that a method is a constructor.
destructor
Replaces ~
. Used to indicate more clearly that a method is a destructor.
end_string
Is the null character.
enumeration
Replaces typedef enum
.
extern_error
Used to declare externally (in a header file) an error.
function
Used to indicate that a function is exported.
nil
Replaces the NULL
macrocommand.
public_property
Used to indicate that a public method or attribute is exported (in the declaration).
private_property
Used to indicate that a private method or attribute is exported (in the declaration).
property
Used to indicate that a method or an attribute is exported (in the definition).
static_error
Used to declare internally (in the source file) an error.
structure
Replaces typedef struct
.
type_union
Replaces typedef union
.
extern_static_constant(prArea,prType,prConstantName,prFunctionName)
Used to declare externally (in the header file) a global constant or variable that is not an object. prArea
is the private or public area. prType
is the type of the constant. prConstantName
is the internal name of the constant. prFunctionName
is the name of the function to access the constant externally.
extern_dynamic_constant(prArea,prType,prConstantName,prFunctionName)
Used to declare externally (in the header file) a global constant or variable that is an object. prArea
is the private or public area. prType
is the type of the constant. prConstantName
is the internal name of the constant. prFunctionName
is the name of the function to access the constant externally.
private_dynamic_access(prType,prConstantName,prFunctionName)
Internal use. Never use it.
private_static_access(prType,prConstantName,prFunctionName)
Internal use. Never use it.
public_dynamic_access(prType,prConstantName,prFunctionName)
Internal use. Never use it.
public_static_access(prType,prConstantName,prFunctionName)
Internal use. Never use it.
read_only_attribute(prType,prAttributeName,prFunctionName)
Used to declare a read-only instance attribute in a class. prType
is the type of the attribute. prAttributeName
is the internal name of the attribute. prFunctionName
is the name of the method to access the attribute externally.
read_write_attribute(prType,prAttributeName,prFunctionName)
Used to declare a read-and-write instance attribute in a class. prType
is the type of the attribute. prAttributeName
is the internal name of the attribute. prFunctionName
is the name of the method to access the attribute externally.
read_only_static_attribute(prType,prAttributeName,prFunctionName)
Used to declare a read-only class attribute in a class. prType
is the type of the attribute. prAttributeName
is the internal name of the attribute. prFunctionName
is the name of the method to access the attribute externally.
read_write_static_attribute(prType,prAttributeName,prFunctionName)
Used to declare a read-and-write class attribute in a class. prType
is the type of the attribute. prAttributeName
is the internal name of the attribute. prFunctionName
is the name of the method to access the attribute externally.
dynamic_constant(prType,prConstantName)
Used to declare internally (in the source file) a global constant or variable that is an object. prType
is the type of the constant. prConstantName
is the internal name of the constant.
static_constant(prType,prConstantName)
Used to declare internally (in the source file) a global constant or variable that is not an object. prType
is the type of the constant. prConstantName
is the internal name of the constant.
create_argument_list(prArgument)
Creates the argument list of the current method starting with a given argument.
get_next_argument(prType)
Gets the next argument in the argument list.
delete_argument_list
Deletes the argument list.
stringify(prParameter)
Makes the provided parameter a string.
safe_yes(prLine)
The expression prLine
is integrated into the source code if THREAD_SAFETY
is defined.
safe_allocator
Expression to access a thread-safe STL allocator.
safe_static
Used to declare a static variable in a method or a function, but if thread-safety is required the variable will not be static in order to make the function or method reentrant.
safe_no(prLine)
The expression prLine
is integrated into the source code if THREAD_SAFETY
is undefined.
testing_mode(prLine)
The expression prLine
is integrated into the source code if TESTING_MODE
is defined.
cpattern_one(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 1 element.
cpattern_two(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 2 elements (separated by a comma).
cpattern_three(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 3 elements (separated by a comma).
cpattern_four(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 4 elements (separated by a comma).
cpattern_five(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 5 elements (separated by a comma).
cpattern_six(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 6 elements (separated by a comma).
cpattern_seven(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 7 elements (separated by a comma).
cpattern_eight(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 8 elements (separated by a comma).
cpattern_nine(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 9 elements (separated by a comma).
cpattern_ten(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 10 elements (separated by a comma).
spattern_one(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 1 element.
spattern_two(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 2 elements (separated by a semicolon).
spattern_three(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 3 elements (separated by a semicolon).
spattern_four(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 4 elements (separated by a semicolon).
spattern_five(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 5 elements (separated by a semicolon).
spattern_six(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 6 elements (separated by a semicolon).
spattern_seven(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 7 elements (separated by a semicolon).
spattern_eight(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 8 elements (separated by a semicolon).
spattern_nine(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 9 elements (separated by a semicolon).
spattern_ten(prPattern)
Used for code generation. Applies a pattern (with the prefix vpattern_
) on 10 elements (separated by a semicolon).
one(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 1 element.
two(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 2 elements.
three(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 3 elements.
four(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 4 elements.
five(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 5 elements.
six(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 6 elements.
seven(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 7 elements.
eight(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 8 elements.
nine(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 9 elements.
ten(prPattern)
Used for code generation. Applies a pattern (with the prefix gpattern_
) for 10 elements.
one_to_n(prPattern)
Used for code generation. Applies a pattern (with the prefix mpattern_
) for 1 to 10 elements.
Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.