VR-Link API Documentation for HLA 4
 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)
 

Macro Definition Documentation

#define DtDeclareVarType (   NativeType,
  CmdLineType 
)
Value:
template <>\
{\
typedef CmdLineType Type;\
};\
template <>\
template <>\
template <>\
template <>\
DtVarType<NativeType>::ArgType DtVarType<NativeType>::convertToArgType(NativeType);\
template <>\
template <>\
template <>\
template <>\
template <>\
template <>\
static DtString argNameOfType()
static DtEnvValueSP createSchemaType(DtEnvironment)
static T convertFromArgType(ArgType value)
static DtString xsNameOfType()
static void convertToEnvironmentValue(DtEnvironment env, T value)
A Flyweight class for manipulating objects and their hierarchy The DtEnvironment wraps a DtEnvValuSP ...
Definition: environment.h:29
static T convertFromString(const DtString &value)
static ArgType convertToArgType(T value)
static DtString nativeNameOfType()
static DtString convertToString(T value)
Definition: varType.h:20
Instances of DtString are used to represent strings.
Definition: vlString.h:36
static T convertFromEnvironmentValue(DtEnvironment env)
std::shared_ptr< DtEnvValue > DtEnvValueSP
Definition: envValue.h:29
#define DtDefineVarTypeArgFunctions (   NativeType,
  ToStrFunction,
  FromStrFunction,
  ToArgFunction,
  FromArgFunction 
)
Value:
template<>\
DtVarType<NativeType>::ArgType DtVarType<NativeType>::convertToArgType(NativeType value)\
{\
return ToArgFunction;\
}\
template<>\
{\
return FromArgFunction;\
}\
template<>\
DtString DtVarType<NativeType>::convertToString(NativeType value)\
{\
return ToStrFunction;\
}\
template<>\
{\
return FromStrFunction;\
}
static T convertFromArgType(ArgType value)
static T convertFromString(const DtString &value)
static ArgType convertToArgType(T value)
static DtString convertToString(T value)
Instances of DtString are used to represent strings.
Definition: vlString.h:36
#define DtDefineVarTypeEnvFunctions (   NativeType,
  SchemaTypeFunction,
  ToEnvironmentFunction,
  FromEnvironmentFunction 
)
Value:
template <>\
{\
return SchemaTypeFunction;\
}\
template <>\
{\
ToEnvironmentFunction;\
}\
template <>\
{\
return FromEnvironmentFunction;\
}\
static DtEnvValueSP createSchemaType(DtEnvironment)
static void convertToEnvironmentValue(DtEnvironment env, T value)
A Flyweight class for manipulating objects and their hierarchy The DtEnvironment wraps a DtEnvValuSP ...
Definition: environment.h:29
static T convertFromEnvironmentValue(DtEnvironment env)
std::shared_ptr< DtEnvValue > DtEnvValueSP
Definition: envValue.h:29
#define DtDefineVarTypeNames (   NativeType,
  ArgNameStr,
  xsTypeStr 
)
Value:
template<>\
{\
return #NativeType;\
};\
template<>\
{\
return ArgNameStr;\
}\
template<>\
{\
return xsTypeStr;\
}\
static DtString argNameOfType()
static DtString xsNameOfType()
static DtString nativeNameOfType()

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)