VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
DtVarType< T > Struct Template Reference

A template function for providing the necessary conversion functions for native types to the command line and environment. More...

Public Types

typedef _NativeTypeToArg< T >::Type ArgType
 

Static Public Member Functions

static DtString nativeNameOfType ()
 
static DtString argNameOfType ()
 
static DtString xsNameOfType ()
 
static ArgType convertToArgType (T value)
 
static T convertFromArgType (ArgType value)
 
static DtString convertToString (T value)
 
static T convertFromString (const DtString &value)
 
static DtEnvValueSP createSchemaType (DtEnvironment)
 
static void convertToEnvironmentValue (DtEnvironment env, T value)
 
static T convertFromEnvironmentValue (DtEnvironment env)
 

Detailed Description

template<typename T>
struct DtVarType< T >

A template function for providing the necessary conversion functions for native types to the command line and environment.

Typically use the Helper macros defined below to special.

Member Typedef Documentation

template<typename T>
typedef _NativeTypeToArg<T>::Type DtVarType< T >::ArgType

Member Function Documentation

template<typename T>
static DtString DtVarType< T >::argNameOfType ( )
static
template<typename T>
static T DtVarType< T >::convertFromArgType ( ArgType  value)
static
template<typename T>
static T DtVarType< T >::convertFromEnvironmentValue ( DtEnvironment  env)
static
template<typename T>
static T DtVarType< T >::convertFromString ( const DtString value)
static
template<typename T>
static ArgType DtVarType< T >::convertToArgType ( value)
static
template<typename T>
static void DtVarType< T >::convertToEnvironmentValue ( DtEnvironment  env,
value 
)
static
template<typename T>
static DtString DtVarType< T >::convertToString ( value)
static
template<typename T>
static DtEnvValueSP DtVarType< T >::createSchemaType ( DtEnvironment  )
static
template<typename T>
static DtString DtVarType< T >::nativeNameOfType ( )
static
template<typename T>
static DtString DtVarType< T >::xsNameOfType ( )
static

The documentation for this struct was generated from the following file:

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)