46 #ifdef DRAMA_ALLOW_CPP_STDLIB
59 #define ARG_STRING2 -3
64 #if defined(__cplusplus) || defined(__STDC__) || defined (VAXC)
65 # define ARGCONST const
77 #define ARGEXTERN __declspec(dllexport)
78 #elif defined(DRAMA_STATIC)
79 #define ARGEXTERN extern
81 #define ARGEXTERN __declspec(dllimport)
85 #define ARGEXTERN extern
91 #define ARG_NEWCPP_OVERLOADS 1
94 ARGEXTERN
void ArgNew(SdsIdType *
id, StatusType * ARGCONST status);
95 ARGEXTERN
void ArgPutc(SdsIdType
id, ARGCONST
char *name,
char value,
96 StatusType * ARGCONST status);
97 ARGEXTERN
void ArgPuts(SdsIdType
id, ARGCONST
char *name,
short value,
98 StatusType * ARGCONST status);
99 ARGEXTERN
void ArgPutus(SdsIdType
id, ARGCONST
char *name,
unsigned short value,
100 StatusType * ARGCONST status);
101 ARGEXTERN
void ArgPuti(SdsIdType
id, ARGCONST
char *name,
long value,
102 StatusType * ARGCONST status);
103 ARGEXTERN
void ArgPuti64(SdsIdType
id, ARGCONST
char *name, INT64 value,
104 StatusType * ARGCONST status);
106 ARGEXTERN
void ArgPutu(SdsIdType
id, ARGCONST
char *name,
unsigned long value,
107 StatusType * ARGCONST status);
109 ARGEXTERN
void ArgPutu64(SdsIdType
id, ARGCONST
char *name, UINT64 value,
110 StatusType * ARGCONST status);
112 ARGEXTERN
void ArgPutf(SdsIdType
id, ARGCONST
char *name,
float value,
113 StatusType * ARGCONST status);
114 ARGEXTERN
void ArgPutd(SdsIdType
id, ARGCONST
char *name,
double value,
115 StatusType * ARGCONST status);
116 ARGEXTERN
void ArgPutString(SdsIdType
id, ARGCONST
char *name, ARGCONST
char *value,
117 StatusType * ARGCONST status);
118 ARGEXTERN
void ArgGetc(SdsIdType
id, ARGCONST
char *name,
char *value,
119 StatusType * ARGCONST status);
120 ARGEXTERN
void ArgGets(SdsIdType
id, ARGCONST
char *name,
short *value,
121 StatusType * ARGCONST status);
122 ARGEXTERN
void ArgGetus(SdsIdType
id, ARGCONST
char *name,
unsigned short *value,
123 StatusType * ARGCONST status);
124 ARGEXTERN
void ArgGeti(SdsIdType
id, ARGCONST
char *name,
long *value,
125 StatusType * ARGCONST status);
126 ARGEXTERN
void ArgGeti64(SdsIdType
id, ARGCONST
char *name, INT64 *value,
127 StatusType * ARGCONST status);
129 ARGEXTERN
void ArgGetu(SdsIdType
id, ARGCONST
char *name,
unsigned long *value,
130 StatusType * ARGCONST status);
131 ARGEXTERN
void ArgGetu64(SdsIdType
id, ARGCONST
char *name, UINT64 *value,
132 StatusType * ARGCONST status);
134 ARGEXTERN
void ArgGetf(SdsIdType
id, ARGCONST
char *name,
float *value,
135 StatusType * ARGCONST status);
136 ARGEXTERN
void ArgGetd(SdsIdType
id, ARGCONST
char *name,
double *value,
137 StatusType * ARGCONST status);
138 ARGEXTERN
void ArgGetString(SdsIdType
id, ARGCONST
char *name,
long len,
char *value,
139 StatusType * ARGCONST status);
140 ARGEXTERN
void ArgDelete(SdsIdType
id, StatusType * ARGCONST status);
143 ARGEXTERN
void ArgCvt (ARGCONST
void * SrcAddr, SdsCodeType SrcType, SdsCodeType DstType,
144 void * DstAddr,
unsigned long int DstLen ,
145 StatusType * ARGCONST status);
146 ARGEXTERN
void ArgLook (
char *SrcAddr,
int USFlag,
int MinFlag, SdsCodeType *DstType,
147 StatusType * ARGCONST status);
150 ARGEXTERN
void ArgToString (SdsIdType
id,
int maxlen,
int *length,
char *
string,
151 StatusType * ARGCONST status);
153 typedef void (*ArgListFuncType)(
156 StatusType * status);
157 ARGEXTERN
void ArgSdsList(SdsIdType
id,
unsigned buflen,
char *buffer,
158 ArgListFuncType func,
void * client_data,
159 StatusType * ARGCONST status);
162 ARGEXTERN
void ArgFind(SdsIdType parent_id, ARGCONST
char *name,
164 StatusType * ARGCONST status);
166 ARGEXTERN
void ArgCheckItem(SdsIdType
id,
167 SdsCodeType code,
long ndims,
168 long * ARGCONST dims,
169 StatusType * ARGCONST status);
176 ARGEXTERN
void ArgPut1DArrayD(SdsIdType
id,
180 StatusType * status);
183 ARGEXTERN
void ArgPut1DArrayDElem(SdsIdType
id,
188 StatusType *
const status);
191 ARGEXTERN
void ArgPut1DArrayI(SdsIdType
id,
195 StatusType * status);
198 ARGEXTERN
void ArgPut1DArrayIElem(SdsIdType
id,
203 StatusType *
const status);
205 ARGEXTERN
void ArgPut1DArrayB(SdsIdType
id,
208 const unsigned char data[],
209 StatusType * status);
212 ARGEXTERN
void ArgPut1DArrayBElem(SdsIdType
id,
217 StatusType *
const status);
221 ARGEXTERN
void ArgPut1DArrayS(SdsIdType
id,
226 StatusType * status);
229 ARGEXTERN
void ArgPut1DArraySElem(SdsIdType
id,
235 StatusType *
const status);
272 Arg& operator=(
const Arg&);
298 Arg (
const SdsIdType item=0,
const bool free=
false,
299 const bool del =
false,
const bool readfree =
false) :
300 SdsId(item,free,del,readfree) {
318 Arg (
bool , StatusType *
const status,
319 const char *
const name =
"ArgStructure") :
320 SdsId(name, SDS_STRUCT,status) {
335 void New (StatusType *
const status,
336 const char *
const name =
"ArgStructure") {
341 Arg tid(
true,status, name);
360 StatusType *
const status) :
361 SdsId(0,false,false,false) {
370 ArgFind(source,name,&tid,status);
388 void ToString(
int maxlen,
int *length,
char *
string,
389 StatusType *
const status)
391 ArgToString(*
this,maxlen,length,
string,status);
426 ArgCheckItem(*
this, code, ndims, dims, status);
449 void Put (
const char *name,
bool value, StatusType *
const status) {
450 unsigned short v = (int)value;
451 ArgPutus(*
this,name,v,status);
468 void Put (
const char *name,
char value, StatusType *
const status) {
469 ArgPutc(*
this,name,value,status);
485 void Put (
const char *name,
short value, StatusType *
const status) {
486 ArgPuts(*
this,name,value,status);
503 void Put (
const char *name,
unsigned short value,
504 StatusType *
const status) {
505 ArgPutus(*
this,name,value,status);
523 void Put (
const char *name, INT32 value, StatusType *
const status) {
524 ArgPuti(*
this,name,value,status);
542 void Put (
const char *name, UINT32 value, StatusType *
const status) {
543 ArgPutu(*
this,name,value,status);
560 void Put (
const char *name, INT64 value, StatusType *
const status) {
561 ArgPuti64(*
this,name,value,status);
578 void Put (
const char *name, UINT64 value, StatusType *
const status) {
579 ArgPutu64(*
this,name,value,status);
596 void Put (
const char *name,
float value, StatusType *
const status) {
597 ArgPutf(*
this,name,value,status);
614 void Put (
const char *name,
double value, StatusType *
const status) {
615 ArgPutd(*
this,name,value,status);
634 void Put (
const char *name,
const char *value, StatusType *
const status) {
635 ArgPutString(*
this,name,value,status);
655 void Get (
const char *name,
bool * value,
656 StatusType *
const status)
const {
658 ArgGetus(*
this,name,&v,status);
659 *value = v ?
true :
false;
686 void Put (
const char *name,
const long dim,
const double data[],
687 StatusType *
const status) {
688 ArgPut1DArrayD(*
this, name, dim, data, status);
715 void Put (
const char *name,
const long dim,
const unsigned index,
716 const double data, StatusType *
const status) {
717 ArgPut1DArrayDElem(*
this, name, dim, index, data, status);
745 void Put (
const char *name,
const long dim,
const INT32 data[],
746 StatusType *
const status) {
747 ArgPut1DArrayI(*
this, name, dim, data, status);
772 void Put (
const char *name,
const long dim,
const unsigned index,
773 const INT32 data, StatusType *
const status) {
774 ArgPut1DArrayIElem(*
this, name, dim, index, data, status);
802 void Put (
const char *name,
const long dim,
const unsigned char data[],
803 StatusType *
const status) {
804 ArgPut1DArrayB(*
this, name, dim, data, status);
830 void Put (
const char *name,
const long dim,
const unsigned index,
831 const unsigned char data, StatusType *
const status) {
832 ArgPut1DArrayBElem(*
this, name, dim, index, data, status);
864 void Put (
const char *name,
const long slen,
const long dim,
const char *data[],
865 StatusType *
const status) {
866 ArgPut1DArrayS(*
this, name, slen, dim, data, status);
899 void Put (
const char *name,
const long slen,
const long dim,
const unsigned index,
900 const char *data, StatusType *
const status) {
901 ArgPut1DArraySElem(*
this, name, slen, dim, index, data, status);
917 void Get (
const char *name,
char * value, StatusType *
const status)
const {
918 ArgGetc(*
this,name,value,status);
932 void Get (
const char *name,
short * value, StatusType *
const status)
const {
933 ArgGets(*
this,name,value,status);
948 void Get (
const char *name,
unsigned short * value,
949 StatusType *
const status)
const {
950 ArgGetus(*
this,name,value,status);
965 void Get (
const char *name, INT32 * value, StatusType *
const status )
const{
967 ArgGeti(*
this,name,&v,status);
983 void Get (
const char *name, UINT32 * value,
984 StatusType *
const status)
const {
986 ArgGetu(*
this,name,&v,status);
1002 void Get (
const char *name, INT64 * value, StatusType *
const status)
const{
1003 ArgGeti64(*
this,name,value,status);
1018 void Get (
const char *name, UINT64 * value, StatusType *
const status)
const{
1019 ArgGetu64(*
this,name,value,status);
1034 void Get (
const char *name,
float * value, StatusType *
const status)
const{
1035 ArgGetf(*
this,name,value,status);
1049 void Get (
const char *name,
double * value, StatusType *
const status)
const {
1050 ArgGetd(*
this,name,value,status);
1065 void Get (
const char *name,
long len,
char * value,
1066 StatusType *
const status)
const{
1067 ArgGetString(*
this,name,len,value,status);
1087 static void List(
const SdsId &
id,
unsigned buflen,
char *buffer,
1088 ArgListFuncType func,
void * client_data,
1089 StatusType * ARGCONST status) {
1090 ArgSdsList(
id,buflen,buffer,func,client_data,status);
1103 void List(StatusType *
const status)
const {
1104 SdsList(*
this,status);
1113 void List(FILE *to, StatusType *
const status)
const {
1114 SdsListTo(to, *
this,status);
1139 void Get(
const unsigned long length,
1141 StatusType *
const status,
1142 unsigned long *actlen = 0,
1143 const unsigned long offset=0)
const {
1144 SdsId::Get(length,data,status,actlen,offset);
1166 void Put(
const unsigned long length,
1168 StatusType *
const status,
1169 const unsigned long offset=0)
1175 #ifdef DRAMA_ALLOW_CPP_STDLIB
1200 const std::string &name,
1201 StatusType *
const status) :
1202 SdsId(0,false,false,false) {
1204 ArgFind(source,name.c_str(),&tid,status);
1228 void Put (
const std::string &name,
bool value, StatusType *
const status) {
1229 unsigned short v = (int)value;
1230 ArgPutus(*
this,name.c_str(),v,status);
1248 void Put (
const std::string &name,
char value, StatusType *
const status) {
1249 ArgPutc(*
this,name.c_str(),value,status);
1267 void Put (
const std::string &name,
short value, StatusType *
const status) {
1268 ArgPuts(*
this,name.c_str(),value,status);
1287 void Put (
const std::string &name,
unsigned short value,
1288 StatusType *
const status) {
1289 ArgPutus(*
this,name.c_str(),value,status);
1308 void Put (
const std::string &name, INT32 value,
1309 StatusType *
const status) {
1310 ArgPuti(*
this,name.c_str(),value,status);
1329 void Put (
const std::string &name, UINT32 value,
1330 StatusType *
const status) {
1331 ArgPutu(*
this,name.c_str(),value,status);
1351 void Put (
const std::string &name, INT64 value, StatusType *
const status) {
1352 ArgPuti64(*
this,name.c_str(),value,status);
1371 void Put (
const std::string &name, UINT64 value, StatusType *
const status) {
1372 ArgPutu64(*
this,name.c_str(),value,status);
1391 void Put (
const std::string &name,
float value, StatusType *
const status) {
1392 ArgPutf(*
this,name.c_str(),value,status);
1411 void Put (
const std::string &name,
double value, StatusType *
const status) {
1412 ArgPutd(*
this,name.c_str(),value,status);
1433 const std::string &value,
1434 StatusType *status) {
1435 ArgPutString(*
this, name, value.c_str(), status);
1455 void Put(
const std::string &name,
1456 const std::string &value,
1457 StatusType *status) {
1458 Put(name.c_str(), value, status);
1477 void Get (
const std::string &name,
bool * value,
1478 StatusType *
const status)
const{
1480 ArgGetus(*
this,name.c_str(),&v,status);
1481 *value = v ?
true :
false;
1497 void Get (
const std::string &name,
char * value, StatusType *
const status)
const {
1498 ArgGetc(*
this,name.c_str(),value,status);
1514 void Get (
const std::string &name,
short * value, StatusType *
const status)
const {
1515 ArgGets(*
this,name.c_str(),value,status);
1532 void Get (
const std::string &name,
unsigned short * value,
1533 StatusType *
const status)
const{
1534 ArgGetus(*
this,name.c_str(),value,status);
1551 void Get (
const std::string &name, INT32 * value,
1552 StatusType *
const status)
const {
1553 Get(name.c_str(), value, status);
1570 void Get (
const std::string &name, UINT32 * value,
1571 StatusType *
const status)
const{
1572 Get(name.c_str(), value, status);
1589 void Get (
const std::string &name, INT64 * value, StatusType *
const status)
const {
1590 ArgGeti64(*
this,name.c_str(),value,status);
1606 void Get (
const std::string &name, UINT64 * value, StatusType *
const status)
const {
1607 ArgGetu64(*
this,name.c_str(),value,status);
1623 void Get (
const std::string &name,
float * value, StatusType *
const status)
const {
1624 ArgGetf(*
this,name.c_str(),value,status);
1640 void Get (
const std::string &name,
double * value, StatusType *
const status)
const {
1641 ArgGetd(*
this,name.c_str(),value,status);
1667 int buflen = 100)
const {
1670 Arg ItemId(*
this, name, status);
1671 if (*status != STATUS__OK)
return;
1673 char tname[SDS_C_NAMELEN];
1676 unsigned long dims[SDS_C_MAXARRAYDIMS];
1679 ItemId.
Info(tname, &code, &ndims, dims, status);
1680 if (*status != STATUS__OK)
return;
1682 if ((code == SDS_CHAR)&&(ndims == 1))
1685 buflen = dims[0] + 1;
1688 buffer =
new char[buflen];
1691 *status = ARG__MALLOCERR;
1694 ArgGetString(*
this, name, buflen, buffer, status);
1695 if (*status == STATUS__OK)
1725 void Get(
const std::string &name,
1728 int buflen = 100)
const {
1729 Get(name.c_str(), value, status, buflen);
Arg(bool, StatusType *const status, const char *const name="ArgStructure")
Arg constructor which creates a new SDS structure.
Definition: arg.h:318
void Put(const char *name, INT32 value, StatusType *const status)
Insert a 32 bit integer value into a named component of the Arg structure.
Definition: arg.h:523
void Get(const char *name, INT64 *value, StatusType *const status) const
Fetch a 64 bit integer value from a named component of the Arg structure.
Definition: arg.h:1002
void Get(const char *name, UINT64 *value, StatusType *const status) const
Fetch a unsigned 64 bit integer value from a named component of the Arg structure.
Definition: arg.h:1018
void Put(const char *name, char value, StatusType *const status)
Insert a char value into a named component of the Arg structure.
Definition: arg.h:468
void ToString(int maxlen, int *length, char *string, StatusType *const status)
Convert the structure to a string.
Definition: arg.h:388
void Get(const std::string &name, short *value, StatusType *const status) const
Fetch a short integer value from a named component of the Arg structure.
Definition: arg.h:1514
void Put(const char *name, const long dim, const unsigned char data[], StatusType *const status)
Insert an array of unsigned char into a named component of the Arg structure.
Definition: arg.h:802
void Put(const std::string &name, short value, StatusType *const status)
Insert a short value into a named component of the Arg structure.
Definition: arg.h:1267
void Get(const std::string &name, char *value, StatusType *const status) const
Fetch a char value from a named component of the Arg structure.
Definition: arg.h:1497
void List(StatusType *const status) const
List the contents of the structure to standard output.
Definition: arg.h:1103
void Get(const char *name, short *value, StatusType *const status) const
Fetch a short integer value from a named component of the Arg structure.
Definition: arg.h:932
void Get(const std::string &name, float *value, StatusType *const status) const
Fetch a float size real value from a named component of the Arg structure.
Definition: arg.h:1623
void Get(const std::string &name, INT64 *value, StatusType *const status) const
Fetch a 64 bit integer value from a named component of the Arg structure.
Definition: arg.h:1589
Arg(const SdsId &source, const std::string &name, StatusType *const status)
Constructor which returns an id to a named item of another item.
Definition: arg.h:1199
void Put(const char *name, const long dim, const unsigned index, const INT32 data, StatusType *const status)
Insert an 1D INT32 array element.
Definition: arg.h:772
void Get(const std::string &name, INT32 *value, StatusType *const status) const
Fetch a 32 bit integer value from a named component of the Arg structure.
Definition: arg.h:1551
void Put(const char *name, UINT32 value, StatusType *const status)
Insert an unsigned 32 bit integer into a named component of the Arg structure.
Definition: arg.h:542
void Get(const std::string &name, double *value, StatusType *const status) const
Fetch a double size real value from a named component of the Arg structure.
Definition: arg.h:1640
Arg(const SdsIdType item=0, const bool free=false, const bool del=false, const bool readfree=false)
Arg constructor to access an item created by C language SDS.
Definition: arg.h:298
void Get(const char *name, long len, char *value, StatusType *const status) const
Fetch a string value as a char * from a named component of the Arg structure.
Definition: arg.h:1065
void List(FILE *to, StatusType *const status) const
List the contents of the structure to a file.
Definition: arg.h:1113
void Put(const char *name, short value, StatusType *const status)
Insert a short value into a named component of the Arg structure.
Definition: arg.h:485
void Put(const std::string &name, INT32 value, StatusType *const status)
Insert a 32 bit integer value into a named component of the Arg structure.
Definition: arg.h:1308
A C++ Interface to the SDS Arg library.
Definition: arg.h:267
A C++ Interface to the handling SDS structures.
Definition: sds.h:709
void Put(const std::string &name, double value, StatusType *const status)
Insert an double size real value into a named component of the Arg structure.
Definition: arg.h:1411
void ShallowCopy(SdsId &source, const bool outlives=true)
Shallow copy from SdsId.
Definition: sds.h:1880
void Put(const char *name, unsigned short value, StatusType *const status)
Insert an unsigned short value into a named component of the Arg structure.
Definition: arg.h:503
void Get(const char *name, unsigned short *value, StatusType *const status) const
Fetch an unsigned short integer value from a named component of the Arg structure.
Definition: arg.h:948
void Put(const std::string &name, INT64 value, StatusType *const status)
Insert a 64 bit integer value into a named component of the Arg structure.
Definition: arg.h:1351
virtual void Put(const unsigned long length, void *const data, StatusType *const status, const unsigned long offset=0)
Put data into an SDS item.
Definition: sds.h:1567
void Put(const std::string &name, const std::string &value, StatusType *status)
Insert a std::string into a named component of the Arg structure.
Definition: arg.h:1455
void Get(const char *name, double *value, StatusType *const status) const
Fetch a double size real value from a named component of the Arg structure.
Definition: arg.h:1049
void Get(const char *name, INT32 *value, StatusType *const status) const
Fetch a 32 bit integer value from a named component of the Arg structure.
Definition: arg.h:965
void Get(const unsigned long length, void *const data, StatusType *const status, unsigned long *actlen=0, const unsigned long offset=0) const
Get data from an SDS item.
Definition: arg.h:1139
void Put(const char *name, float value, StatusType *const status)
Insert an float size real value into a named component of the Arg structure.
Definition: arg.h:596
void Get(const char *name, std::string *value, StatusType *status, int buflen=100) const
Fetch a string value as a std::string from a named component of the Arg structure.
Definition: arg.h:1664
void Get(const std::string &name, UINT64 *value, StatusType *const status) const
Fetch a unsigned 64 bit integer value from a named component of the Arg structure.
Definition: arg.h:1606
void Put(const std::string &name, UINT32 value, StatusType *const status)
Insert an unsigned 32 bit integer value into a named component of the Arg structure.
Definition: arg.h:1329
void Put(const std::string &name, char value, StatusType *const status)
Insert a char value into a named component of the Arg structure.
Definition: arg.h:1248
void Put(const std::string &name, unsigned short value, StatusType *const status)
Insert an unsigned short value into a named component of the Arg structure.
Definition: arg.h:1287
void Put(const char *name, const long dim, const INT32 data[], StatusType *const status)
Insert an array of INT32 into a named component of the Arg structure.
Definition: arg.h:745
void Get(const char *name, UINT32 *value, StatusType *const status) const
Fetch an unsigned 32 bit integer value from a named component of the Arg structure.
Definition: arg.h:983
void Put(const char *name, const long dim, const unsigned index, const double data, StatusType *const status)
Insert an 1D double array element.
Definition: arg.h:715
void Put(const unsigned long length, void *const data, StatusType *const status, const unsigned long offset=0)
Put data into an SDS item.
Definition: arg.h:1166
Arg(const SdsId &source, const char *const name, StatusType *const status)
Constructor which returns an id to a named item of another item.
Definition: arg.h:359
void Put(const std::string &name, float value, StatusType *const status)
Insert an float size real value into a named component of the Arg structure.
Definition: arg.h:1391
void Put(const char *name, INT64 value, StatusType *const status)
Insert a 64 bit integer value into a named component of the Arg structure.
Definition: arg.h:560
void Put(const char *name, const long dim, const double data[], StatusType *const status)
Insert an array of double into a named component of the Arg structure.
Definition: arg.h:686
void Put(const char *name, double value, StatusType *const status)
Insert an double size real value into a named component of the Arg structure.
Definition: arg.h:614
void Get(const char *name, bool *value, StatusType *const status) const
Fetch a boolean value from a named component of the Arg structure.
Definition: arg.h:655
void New(StatusType *const status, const char *const name="ArgStructure")
Create a new Arg structure within this object.
Definition: arg.h:335
void Put(const char *name, const std::string &value, StatusType *status)
Insert a std::string into a named component of the Arg structure.
Definition: arg.h:1432
void Put(const char *name, UINT64 value, StatusType *const status)
Insert an unsigned 64 bit integer value into a named component of the Arg structure.
Definition: arg.h:578
void Get(const char *name, float *value, StatusType *const status) const
Fetch a float size real value from a named component of the Arg structure.
Definition: arg.h:1034
void Put(const char *name, const char *value, StatusType *const status)
Insert a char * string into a named component of the Arg structure.
Definition: arg.h:634
void Get(const std::string &name, UINT32 *value, StatusType *const status) const
Fetch a 32 bit unsigned integer value from a named component of the Arg structure.
Definition: arg.h:1570
void Put(const std::string &name, bool value, StatusType *const status)
Insert a boolean value into a named component of the Arg structure.
Definition: arg.h:1228
void Get(const std::string &name, std::string *value, StatusType *status, int buflen=100) const
Fetch a string value as a std::string from a named component of the Arg structure.
Definition: arg.h:1725
void Info(char *const name, SdsCodeType *const code, long *const ndims, unsigned long *const dims, StatusType *const status) const
Return information about an SDS item.
Definition: sds.h:1383
void CheckItem(SdsCodeType code, StatusType *status, long ndims=-1, long *dims=0)
Check an item has a required structure.
Definition: arg.h:421
void Get(const std::string &name, bool *value, StatusType *const status) const
Fetch a boolean value from a named component of the Arg structure.
Definition: arg.h:1477
void Get(const char *name, char *value, StatusType *const status) const
Fetch a char value from a named component of the Arg structure.
Definition: arg.h:917
void Get(const std::string &name, unsigned short *value, StatusType *const status) const
Fetch an unsigned short integer value from a named component of the Arg structure.
Definition: arg.h:1532
void Put(const char *name, bool value, StatusType *const status)
Insert a boolean value into a named component of the Arg structure.
Definition: arg.h:449
void Put(const std::string &name, UINT64 value, StatusType *const status)
Insert an unsigned 64 bit integer value into a named component of the Arg structure.
Definition: arg.h:1371
virtual void Get(const unsigned long length, void *const data, StatusType *const status, unsigned long *actlen=0, const unsigned long offset=0) const
Get data from an SDS item.
Definition: sds.h:1328
void Put(const char *name, const long slen, const long dim, const char *data[], StatusType *const status)
Insert an array of string into a named component of the Arg structure.
Definition: arg.h:864
void Put(const char *name, const long dim, const unsigned index, const unsigned char data, StatusType *const status)
Insert an 1D unsigned char array element.
Definition: arg.h:830
static void List(const SdsId &id, unsigned buflen, char *buffer, ArgListFuncType func, void *client_data, StatusType *ARGCONST status)
List an SDS structure through a print function.
Definition: arg.h:1087
void Put(const char *name, const long slen, const long dim, const unsigned index, const char *data, StatusType *const status)
Insert an 1D string array element.
Definition: arg.h:899