'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
KeyValueEnumerated.h
1#ifndef KeyValueEnumerated_h_seen
2#define KeyValueEnumerated_h_seen
3
4
5namespace classic {
6
7namespace gov {
8namespace cca {
10
56class KeyValueEnumerated : public virtual Port {
57public:
68 virtual int setString(const char *key, const char *value) CLASSIC_CCA_PURE;
69
76 virtual int setFloat(const char *key, float value) CLASSIC_CCA_PURE;
78 virtual int setDouble(const char *key, double value) CLASSIC_CCA_PURE;
80 virtual int setLongDouble(const char *key, long double value) CLASSIC_CCA_PURE;
81
88 virtual int setChar(const char *key, char value) CLASSIC_CCA_PURE;
90 virtual int setShort(const char *key, short value) CLASSIC_CCA_PURE;
92 virtual int setInt(const char *key, int value) CLASSIC_CCA_PURE;
94 virtual int setLong(const char *key, long int value) CLASSIC_CCA_PURE;
96 virtual int setLongLong(const char *key, long long int value) CLASSIC_CCA_PURE;
98 virtual int setUnsignedChar(const char *key, unsigned char value) CLASSIC_CCA_PURE;
100 virtual int setUnsignedShort(const char *key, unsigned short value) CLASSIC_CCA_PURE;
102 virtual int setUnsignedInt(const char *key, unsigned int value) CLASSIC_CCA_PURE;
104 virtual int setUnsignedLong(const char *key, unsigned long int value) CLASSIC_CCA_PURE;
106 virtual int setUnsignedLongLong(const char *key, unsigned long long int value) CLASSIC_CCA_PURE;
107
114 virtual int setBool(const char *key, bool boolProp) CLASSIC_CCA_PURE;
115
126 virtual int setPointer(const char *key, void *objProp) CLASSIC_CCA_PURE;
127
134 virtual int getString(const char * propName, const char *& value) CLASSIC_CCA_PURE;
135
142 virtual int getFloat(const char * propName, Float & value) CLASSIC_CCA_PURE;
143
150 virtual int getInt(const char * propName, Int & value) CLASSIC_CCA_PURE;
151
158 virtual int getBool(const char * propName, bool & value) CLASSIC_CCA_PURE;
159
166 virtual int getPointer(const char * propName, void * & value) CLASSIC_CCA_PURE;
167
174 virtual void unset(const char *propName, void * & pointerOut) CLASSIC_CCA_PURE;
175
180 virtual void getKeys(Argv * keylist) CLASSIC_CCA_PURE;
181
191 virtual void getKeysSupported(Argv * keylist) CLASSIC_CCA_PURE;
192
193 }; // KeyValueEnumerated
194} ENDSEMI // cca
195} ENDSEMI // gov
196 } ENDSEMI // end namespace classic
197
198#endif // KeyValueEnumerated_h_seen
199
Abstract algorithm control parameters and string named data io interface.
Definition KeyValueEnumerated.h:56
virtual int setLongLong(const char *key, long long int value) CLASSIC_CCA_PURE
like setShort.
virtual int setLong(const char *key, long int value) CLASSIC_CCA_PURE
like setShort.
virtual int setString(const char *key, const char *value) CLASSIC_CCA_PURE
Defines a new string property or changes the value of an existing one.
virtual int setUnsignedInt(const char *key, unsigned int value) CLASSIC_CCA_PURE
like setShort.
virtual int getBool(const char *propName, bool &value) CLASSIC_CCA_PURE
Get a bool property value by C string name.
virtual int setUnsignedLongLong(const char *key, unsigned long long int value) CLASSIC_CCA_PURE
like setShort.
virtual int getFloat(const char *propName, Float &value) CLASSIC_CCA_PURE
Get a Float property value by C string name.
virtual int setDouble(const char *key, double value) CLASSIC_CCA_PURE
like setFloat.
virtual int getString(const char *propName, const char *&value) CLASSIC_CCA_PURE
Get a C string property value by C string name.
virtual void unset(const char *propName, void *&pointerOut) CLASSIC_CCA_PURE
Remove a key from the properties.
virtual int setUnsignedChar(const char *key, unsigned char value) CLASSIC_CCA_PURE
like setShort.
virtual int setInt(const char *key, int value) CLASSIC_CCA_PURE
like setShort.
virtual int getPointer(const char *propName, void *&value) CLASSIC_CCA_PURE
Get a pointer property value by C string name.
virtual int setBool(const char *key, bool boolProp) CLASSIC_CCA_PURE
Defines a new boolean property or changes its value.
virtual void getKeys(Argv *keylist) CLASSIC_CCA_PURE
Produce a list of all the keys in an abstract container.
virtual int setChar(const char *key, char value) CLASSIC_CCA_PURE
Defines a new integral property or changes its value.
virtual int setFloat(const char *key, float value) CLASSIC_CCA_PURE
Defines a new Float property or changes its value.
virtual int getInt(const char *propName, Int &value) CLASSIC_CCA_PURE
Get an Int property value by C string name.
virtual int setPointer(const char *key, void *objProp) CLASSIC_CCA_PURE
Defines a new arbitrary object property, or substitutes a new object for the currently stored one.
virtual int setShort(const char *key, short value) CLASSIC_CCA_PURE
like setShort.
virtual void getKeysSupported(Argv *keylist) CLASSIC_CCA_PURE
Produce a list of the keys in the main underlying object that the object "supports",...
virtual int setLongDouble(const char *key, long double value) CLASSIC_CCA_PURE
like setFloat.
virtual int setUnsignedShort(const char *key, unsigned short value) CLASSIC_CCA_PURE
like setShort.
virtual int setUnsignedLong(const char *key, unsigned long int value) CLASSIC_CCA_PURE
like setShort.
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7