VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nativeValue.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef nativeValue_H__
12 #define nativeValue_H__
13 
14 #include "appEnv.h"
15 #include "envValue.h"
16 
17 #ifdef DtUSE_UTILITIES_NAMESPACE
18 namespace DtUSE_UTILITIES_NAMESPACE
19 {
20 #endif
21 
23 
24 typedef DtBoost::shared_ptr<DtNativeValue> DtNativeValueSP;
25 
29 {
30 public:
31 
32  ~DtNativeValue();
33 
34  static DtEnvValueSP create(const DtString& nativeType,void* native);
35 
36  DtString nativeType() const;
37  void* nativeValue();
38 
39  static bool isNativeValue(const DtEnvValueSP& );
40  static DtNativeValue* castToNativeValue(const DtEnvValueSP& value);
41 
42 protected:
43  DtNativeValue(const DtString& nativeType,void* native);
44 
47 };
48 
49 #ifdef DtUSE_UTILITIES_NAMESPACE
50 }
51 #endif
52 
53 #endif

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)