'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
KeyValueTyped.h
1#ifndef KeyValueTyped_h_seen
2#define KeyValueTyped_h_seen
3
4
5namespace classic {
6
7namespace gov {
8 namespace cca {
10
39class KeyValueTyped : public virtual Port {
40public:
54 virtual int set(const char *key, enum RawData::Type type, void * value) CLASSIC_CCA_PURE;
55
65 virtual int get(const char * key, enum RawData::Type type, void * valuePtr) CLASSIC_CCA_PURE;
66
72 virtual void unset(const char *propName) CLASSIC_CCA_PURE;
73
80 virtual int setString(const char *key, const char *value) CLASSIC_CCA_PURE;
81
88 virtual const char * getString(const char * key) CLASSIC_CCA_PURE;
89
94 virtual void getKeys(Argv * keylist) CLASSIC_CCA_PURE;
95
96 }; // keyvaluetyped
97} ENDSEMI // cca
98} ENDSEMI // gov
99 } ENDSEMI // CLASSIC
100
101#endif // KeyValueTyped_h_seen
102
Abstract control parameters and other string named data io interface.
Definition KeyValueTyped.h:39
virtual void unset(const char *propName) CLASSIC_CCA_PURE
Remove a key from the properties.
virtual int get(const char *key, enum RawData::Type type, void *valuePtr) CLASSIC_CCA_PURE
virtual void getKeys(Argv *keylist) CLASSIC_CCA_PURE
Produce a list of all the keys in an abstract container.
virtual int set(const char *key, enum RawData::Type type, void *value) CLASSIC_CCA_PURE
Defines a new single-valued property or changes the value of an existing one.
virtual int setString(const char *key, const char *value) CLASSIC_CCA_PURE
Defines a new string property or changes its value.
virtual const char * getString(const char *key) CLASSIC_CCA_PURE
Fetch a string value.
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
Type
An enum over C/Fortran primitives in multiple precisions.
Definition RawData.h:52
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7