gSOAP XML-RPC and JSON  2.8 Stable
Public Member Functions | Public Attributes | List of all members
value Struct Reference

Represents the <value> container element. More...

#include <xml-rpc.h>

Public Member Functions

 value ()
 
 value (struct soap *)
 
 value (struct soap *, struct _array &)
 
 value (struct soap *, struct _base64 &)
 
 value (struct soap *, bool)
 
 value (struct soap *, char *)
 
 value (struct soap *, double)
 
 value (struct soap *, int)
 
 value (struct soap *, time_t)
 
 value (struct soap *, struct _struct &)
 
 operator struct _array & ()
 
 operator const struct _array & () const
 
 operator struct _base64 & ()
 
 operator const struct _base64 & () const
 
 operator char * () const
 
 operator std::string () const
 
 operator wchar_t * () const
 
 operator std::wstring () const
 
 operator double () const
 
 operator int () const
 
 operator time_t () const
 
 operator struct _struct & ()
 
 operator const struct _struct & () const
 
struct valueoperator[] (int)
 
struct valueoperator[] (const char *)
 
struct _arrayoperator= (const struct _array &)
 
struct _base64operator= (const struct _base64 &)
 
bool operator= (bool)
 
const char * operator= (const char *)
 
char * operator= (char *)
 
char * operator= (const std::string &)
 
const char * operator= (const wchar_t *)
 
char * operator= (wchar_t *)
 
char * operator= (const std::wstring &)
 
double operator= (double)
 
int operator= (int)
 
time_t operator= (time_t)
 
struct _structoperator= (const struct _struct &)
 
void size (int)
 set/allocate size of array
 
int size () const
 get array/struct size
 
bool empty () const
 true if empty array or struct
 
bool is_array () const
 true if value is array type
 
bool is_base64 () const
 true if value is base64 type
 
bool is_bool () const
 true if value is boolean type
 
bool is_double () const
 true if value is double type
 
bool is_false () const
 true if value is boolean false
 
bool is_int () const
 true if value is int type
 
bool is_string () const
 true if value is string type
 
bool is_struct () const
 true if value is struct type
 
bool is_true () const
 true if value is boolean true
 
bool is_dateTime () const
 true if value is dateTime
 

Public Attributes

int __type
 optional SOAP_TYPE_X, where X is a type name
 
void * ref
 ref to data
 
_string __any
 <value> string content, when present
 
struct soap * soap
 ref to soap struct that manages this type
 

Detailed Description

Represents the <value> container element.

Constructor & Destructor Documentation

value::value ( )
value::value ( struct soap )
value::value ( struct soap ,
struct _array  
)
value::value ( struct soap ,
struct _base64  
)
value::value ( struct soap ,
bool   
)
value::value ( struct soap ,
char *   
)
value::value ( struct soap ,
double   
)
value::value ( struct soap ,
int   
)
value::value ( struct soap ,
time_t   
)
value::value ( struct soap ,
struct _struct  
)

Member Function Documentation

bool value::empty ( ) const

true if empty array or struct

bool value::is_array ( ) const

true if value is array type

bool value::is_base64 ( ) const

true if value is base64 type

bool value::is_bool ( ) const

true if value is boolean type

bool value::is_dateTime ( ) const

true if value is dateTime

bool value::is_double ( ) const

true if value is double type

bool value::is_false ( ) const

true if value is boolean false

bool value::is_int ( ) const

true if value is int type

bool value::is_string ( ) const

true if value is string type

bool value::is_struct ( ) const

true if value is struct type

bool value::is_true ( ) const

true if value is boolean true

value::operator char * ( ) const
value::operator const struct _array & ( ) const
value::operator const struct _base64 & ( ) const
value::operator const struct _struct & ( ) const
value::operator double ( ) const
value::operator int ( ) const
value::operator std::string ( ) const
value::operator std::wstring ( ) const
value::operator struct _array & ( )
value::operator struct _base64 & ( )
value::operator struct _struct & ( )
value::operator time_t ( ) const
value::operator wchar_t * ( ) const
struct _array& value::operator= ( const struct _array )
read
struct _base64& value::operator= ( const struct _base64 )
read
bool value::operator= ( bool  )
const char* value::operator= ( const char *  )
char* value::operator= ( char *  )
char* value::operator= ( const std::string &  )
const char* value::operator= ( const wchar_t *  )
char* value::operator= ( wchar_t *  )
char* value::operator= ( const std::wstring &  )
double value::operator= ( double  )
int value::operator= ( int  )
time_t value::operator= ( time_t  )
struct _struct& value::operator= ( const struct _struct )
read
struct value& value::operator[] ( int  )
read
struct value& value::operator[] ( const char *  )
read
void value::size ( int  )

set/allocate size of array

int value::size ( ) const

get array/struct size

Member Data Documentation

_string value::__any

<value> string content, when present

int value::__type

optional SOAP_TYPE_X, where X is a type name

void* value::ref

ref to data

struct soap* value::soap

ref to soap struct that manages this type


The documentation for this struct was generated from the following file: