MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
runtimeValue.h File Reference

Contains MAKLogger::DtAnyValue and MAKLogger::DtValue and MAKLogger::DtValueList classes. More...

Go to the source code of this file.

Classes

class  MAKLogger::DtAnyValue
 DtAnyValue is a base class for Any Value type. More...
 
class  MAKLogger::DtValue< T >
 DtValue is a template class that provide value access. More...
 
class  MAKLogger::DtValueList< T >
 A list of values. More...
 

Namespaces

 MAKLogger
 MAKLogger::DtLgrGenericFileFormats.
 

Macros

#define DT_UNIQUE_INT   (hash(__FILE__)+__LINE__)
 Macro to be used in function. More...
 
#define DtDeclareRuntimeType(type)
 Helper macros. More...
 
#define DtDefineRuntimeType(type)
 #define DtDefineRuntimeType(type,name) Defines the type interface, necessary in a C++ source file (not header). More...
 
#define DtDefineSerializableRuntimeType(type)
 
#define runtimeValue_INC_
 To add a new type to DtValue, simple add the following lines where you replace the template parameter with your type. More...
 

Functions

DT_DLL_LGRUTIL std::vector
< DtString
MAKLogger::deserializeList (const DtString &)
 Deserialize string value into string list. More...
 
template<typename T >
DtAnyValue * MAKLogger::DtWrapValue (const T &input)
 
DT_DLL_LGRUTIL unsigned int MAKLogger::hash (const char *k)
 Necessary non-coliding Hash function. More...
 

Detailed Description

Contains MAKLogger::DtAnyValue and MAKLogger::DtValue and MAKLogger::DtValueList classes.

Macro Definition Documentation

#define DT_UNIQUE_INT   (hash(__FILE__)+__LINE__)

Macro to be used in function.

#define DtDeclareRuntimeType (   type)
Value:
template<> \
DT_DLL_LGRUTIL int DtValue< type >::theTypeId(); \
template<> \
DT_DLL_LGRUTIL const DtString& DtValue< type >::theType();\
template<> \
DT_DLL_LGRUTIL int DtValue< std::vector<type> >::theTypeId(); \
template<> \
DT_DLL_LGRUTIL const DtString& DtValue< std::vector<type> >::theType();
#define DT_DLL_LGRUTIL
Definition: lgrUtil.h:19

Helper macros.

DtDeclareRuntimeType(type) Declares the type interface, necessary in a header, also provides list (via std::vector> export

#define DtDefineRuntimeType (   type)

#define DtDefineRuntimeType(type,name) Defines the type interface, necessary in a C++ source file (not header).

#define DtDefineSerializableRuntimeType (   type)
#define runtimeValue_INC_

To add a new type to DtValue, simple add the following lines where you replace the template parameter with your type.

The type must be copyable, or store a pointer. Example of basic types This macros is put in the runtimeValue.cxx source. DtDefineRuntimeType(unsigned char) Remaining basic types declared in runtimeValue.inl Remaining basic native types defined in runtimeValue.cxx


Document ID: Generated on Fri May 31 15:45:35 EDT 2024 from SVN revision 266500
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)