Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Data_Field Class Reference

Fl_Data_Field. More...

#include <Fl_Data_Fields.h>

List of all members.

Public Methods

 Fl_Data_Field (const char *name)
const Fl_Stringname () const
Fl_Variant_Type type () const
unsigned buffer_size () const
unsigned data_size () const
void data_size (unsigned sz)
bool is_null () const
 operator int () const
 operator double () const
 operator Fl_String () const
 operator Fl_Date_Time () const
 operator const Fl_Image * () const
int as_int () const
double as_float () const
Fl_String as_string () const
bool as_bool () const
Fl_Date_Time as_date () const
Fl_Date_Time as_datetime () const
const Fl_Imageas_image () const
Fl_Data_Field & operator= (int v)
Fl_Data_Field & operator= (double v)
Fl_Data_Field & operator= (Fl_String v)
Fl_Data_Field & operator= (Fl_Date_Time v)
Fl_Data_Field & operator= (const char *v)
Fl_Data_Field & operator= (const Fl_Image *v)

Public Attributes

Fl_Variant value
int width
 Field attributes are used when we need to convert a field data into something like Fl_ListView. More...

int precision
Fl_Flags flags
bool visible

Protected Attributes

Fl_String m_name
unsigned m_dataSize

Friends

class Fl_Data_Fields


Detailed Description

Fl_Data_Field.

Definition at line 32 of file Fl_Data_Fields.h.


Member Data Documentation

int Fl_Data_Field::width
 

Field attributes are used when we need to convert a field data into something like Fl_ListView.

Width defines a width of the column, flags may contain an alignment of data, precision is used when we deal with floating point numbers. Precision defines # of digits after decimal point. Positive precision means fixed format, negative means a scientific format. If the visible flag is switched off, the field is not shown in Fl_ListView and similar classes.

Definition at line 49 of file Fl_Data_Fields.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:47 2003 for eFLTK by doxygen1.2.15