In file Float32.h:
class Float32 : public BaseType
Holds a 32-bit floating point value
Inheritance:
Public Methods
-
Float32(const string &n = "")
- The Float32 constructor.
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 a 32-bit floating point value.
Float32(const string &n = "")
- The Float32 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.
- This class has no child classes.
- See Also:
- BaseType
alphabetic index hierarchy of classes
generated by doc++