VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
varType.h File Reference

Go to the source code of this file.

Classes

struct  _NativeTypeToArg< T >
struct  DtVarType< T >
 A template function for providing the necessary conversion functions for native types to the command line and environment. More...

Macros

#define DtDeclareVarType(NativeType, CmdLineType)
#define DtDefineVarTypeNames(NativeType, ArgNameStr, xsTypeStr)
#define DtDefineVarTypeArgFunctions(NativeType, ToStrFunction, FromStrFunction, ToArgFunction, FromArgFunction)
#define DtDefineVarTypeEnvFunctions(NativeType, SchemaTypeFunction, ToEnvironmentFunction, FromEnvironmentFunction)

Detailed Description

Macro Definition Documentation

#define DtDeclareVarType (   NativeType,
  CmdLineType 
)
#define DtDefineVarTypeArgFunctions (   NativeType,
  ToStrFunction,
  FromStrFunction,
  ToArgFunction,
  FromArgFunction 
)
Value:
template<>\
{\
return ToArgFunction;\
}\
template<>\
{\
return FromArgFunction;\
}\
template<>\
{\
return ToStrFunction;\
}\
template<>\
{\
return FromStrFunction;\
}
#define DtDefineVarTypeEnvFunctions (   NativeType,
  SchemaTypeFunction,
  ToEnvironmentFunction,
  FromEnvironmentFunction 
)
Value:
template <>\
{\
return SchemaTypeFunction;\
}\
template <>\
{\
ToEnvironmentFunction;\
}\
template <>\
{\
return FromEnvironmentFunction;\
}\
#define DtDefineVarTypeNames (   NativeType,
  ArgNameStr,
  xsTypeStr 
)
Value:
template<>\
{\
return #NativeType;\
};\
template<>\
{\
return ArgNameStr;\
}\
template<>\
{\
return xsTypeStr;\
}\

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)