Go to the source code of this file.
|
| #define | CLASS_AUXSTORE(DOBJ) |
| | define which AUXSTORE and CONSTAUXSTORE to use for a DOBJ type.
|
| #define | CLASS_AUXSTORE3(DOBJ, AUXSTORE, CONSTAUXSTORE) |
◆ CLASS_AUXSTORE
| #define CLASS_AUXSTORE |
( |
| DOBJ | ) |
|
Value:
template <> struct AuxStore_traits< DOBJ > { \
static const std::string& typeName() { \
static const std::string
s_name =
"SG::IAuxStore";\
} \
static const std::string& const_typeName() { \
static const std::string
s_name =
"SG::IConstAuxStore"; \
} \
}; }
std::atomic< const char * > ClassID_traits< ViewVector< DV > >::s_name
Interface for non-const operations on an auxiliary store.
Interface for const operations on an auxiliary store.
define which AUXSTORE and CONSTAUXSTORE to use for a DOBJ type.
CLASS_AUXSTORE specifies the default IAuxStore and IConstAuxStore interfaces CLASS_AUXSTORE3 allows to specify any AuxStore type.
Definition at line 29 of file CLASS_AUXSTORE.h.
29#define CLASS_AUXSTORE(DOBJ) \
30 namespace SG { \
31 template <> struct AuxStore_traits< DOBJ > { \
32 typedef SG::IAuxStore type; \
33 typedef SG::IConstAuxStore const_type; \
34 static const std::string& typeName() { \
35 static const std::string s_name = "SG::IAuxStore";\
36 return s_name; \
37 } \
38 static const std::string& const_typeName() { \
39 static const std::string s_name = "SG::IConstAuxStore"; \
40 return s_name; \
41 } \
42 }; }
◆ CLASS_AUXSTORE3
| #define CLASS_AUXSTORE3 |
( |
| DOBJ, |
|
|
| AUXSTORE, |
|
|
| CONSTAUXSTORE ) |
Value:
template <> struct AuxStore_traits< DOBJ > { \
typedef CONSTAUXSTORE const_type; \
static const std::string& typeName() { \
static const std::string
s_name = #AUXSTORE; \
} \
static const std::string& const_typeName() { \
static const std::string
s_name = #CONSTAUXSTORE; \
} \
}; }
Definition at line 43 of file CLASS_AUXSTORE.h.
43#define CLASS_AUXSTORE3(DOBJ, AUXSTORE, CONSTAUXSTORE) \
44 namespace SG { \
45 template <> struct AuxStore_traits< DOBJ > { \
46 typedef AUXSTORE type; \
47 typedef CONSTAUXSTORE const_type; \
48 static const std::string& typeName() { \
49 static const std::string s_name = #AUXSTORE; \
50 return s_name; \
51 } \
52 static const std::string& const_typeName() { \
53 static const std::string s_name = #CONSTAUXSTORE; \
54 return s_name; \
55 } \
56 }; }