'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
RawData.h
1#ifndef RawData_h_seen
2#define RawData_h_seen
3
4
5namespace classic {
6
7namespace gov {
8 namespace cca {
9
24class RawData : public virtual Port {
25public:
26
29 virtual const char* getName() CLASSIC_CCA_PURE;
30
33 virtual int getNumberOfBuffers() CLASSIC_CCA_PURE;
34
44 virtual void getBufferInfo(int bufferIndex, const char* & elementName,
45 enum RawDataType & elementType,
46 int & elementCount, void* & buffer) CLASSIC_CCA_PURE;
47
49 virtual unsigned long sizeofDataType(enum RawDataType) CLASSIC_CCA_PURE;
50
52 enum Type {
53 Err = 0,
54 Byte = 1,
55 Bool = 2,
56 Char = 3,
57 WChar = 4,
58 Int1 = 5,
59 Int2 = 6,
60 Int4 = 7,
61 Int8 = 8,
62 UInt1 = 9,
63 UInt2 = 10,
64 UInt4 = 11,
65 UInt8 = 12,
66 Float4 = 13,
67 Float8 = 14,
68 Float16 = 15,
69 Complex4 = 16,
70 Complex8 = 17,
71 Complex16 = 18,
72 Complex32 = 19,
73 PtrByte = 65,
74 PtrBool = 66,
75 PtrChar = 67,
76 PtrWChar = 68,
77 PtrInt1 = 69,
78 PtrInt2 = 70,
79 PtrInt4 = 71,
80 PtrInt8 = 72,
81 PtrUInt1 = 73,
82 PtrUInt2 = 74,
83 PtrUInt4 = 75,
84 PtrUInt8 = 76,
85 PtrFloat4 = 77,
86 PtrFloat8 = 78,
87 PtrFloat16 = 79,
88 PtrComplex4 = 80,
89 PtrComplex8 = 81,
90 PtrComplex16 = 82,
91 PtrComplex32 = 83,
92 PtrRawData = 84
93 };
94
95}; // RawData
96} ENDSEMI // cca
97} ENDSEMI // gov
98} ENDSEMI //CLASSIC
99
100#endif // RawData_h_seen
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
A low-level interface for accessing memory.
Definition RawData.h:24
virtual unsigned long sizeofDataType(enum RawDataType) CLASSIC_CCA_PURE
Returns the size of the given RawDataType in bytes.
Type
An enum over C/Fortran primitives in multiple precisions.
Definition RawData.h:52
virtual void getBufferInfo(int bufferIndex, const char *&elementName, enum RawDataType &elementType, int &elementCount, void *&buffer) CLASSIC_CCA_PURE
Returns information about the buffer at the given index.
virtual const char * getName() CLASSIC_CCA_PURE
Name associated with this set of buffers.
virtual int getNumberOfBuffers() CLASSIC_CCA_PURE
The total number of encapsulated buffers.
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7