In file Str.h:

class Str : public BaseType

Holds character string data

Inheritance:


Public Methods

Str(const string &n = "")
The Str constructor.

Inherited from BaseType:

Public Methods

virtual BaseType* ptr_duplicate()
string name() const
void set_name(const string &n)
Type type() const
void set_type(const Type &t)
string type_name() const
bool is_simple_type()
bool is_vector_type()
bool is_constructor_type()
virtual int element_count(bool leaves = false)
bool synthesized_p()
void set_synthesized_p(bool state)
bool read_p()
virtual void set_read_p(bool state)
bool send_p()
virtual void set_send_p(bool state)
xdrproc_t xdr_coder()
virtual BaseType* var(const string &name = "", bool exact_match = true)
virtual BaseType* var(const string &name, btp_stack &s)
virtual void add_var(BaseType *v, Part p = nil)
virtual unsigned int width()
virtual bool read(const string &dataset, int &error)
virtual unsigned int buf2val(void **val)
virtual unsigned int val2buf(void *val, bool reuse = false)
virtual bool serialize(const string &dataset, DDS &dds, XDR *sink, bool ce_eval = true)
virtual bool deserialize(XDR *source, DDS *dds, bool reuse = false)
virtual void print_decl(ostream &os, string space = " ", bool print_semi = true, bool constraint_info = false, bool constrained = false)
virtual void print_val(ostream &os, string space = "", bool print_decl_p = true)
virtual bool check_semantics(string &msg, bool all = false)
virtual bool ops(BaseType *b, int op, const string &dataset)

Documentation

Holds character string data.
Str(const string &n = "")
The Str constructor requires only the name of the variable to be created. The name may be omitted, which will create a nameless variable. This may be adequate for some applications.
Parameters:
n - A string containing the name of the variable to be created.


Direct child classes:
Url
See Also:
BaseType
Url

alphabetic index hierarchy of classes


generated by doc++