fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Class_Type Class Reference

#include <Fl_Type.h>

Inheritance diagram for Fl_Class_Type:
[legend]
Collaboration diagram for Fl_Class_Type:
[legend]

Public Member Functions

 Fl_Class_Type ()
 
 ~Fl_Class_Type ()
 
Fl_Typemake ()
 
void write_code1 ()
 
void write_code2 ()
 
void open ()
 
virtual const char * type_name ()
 
int is_parent () const
 
int is_decl_block () const
 
int is_class () const
 
virtual int is_public () const
 
int pixmapID ()
 
void write_properties ()
 
void read_property (const char *)
 
void prefix (const char *p)
 
const char * prefix () const
 
int has_function (const char *, const char *) const
 
- Public Member Functions inherited from Fl_Type
const char * callback_name ()
 
virtual ~Fl_Type ()
 
void add (Fl_Type *parent)
 
void insert (Fl_Type *n)
 
Fl_Typeremove ()
 
void move_before (Fl_Type *)
 
virtual const char * title ()
 
virtual const char * alt_type_name ()
 
const char * name () const
 
void name (const char *)
 
const char * label () const
 
void label (const char *)
 
const char * callback () const
 
void callback (const char *)
 
const char * user_data () const
 
void user_data (const char *)
 
const char * user_data_type () const
 
void user_data_type (const char *)
 
const char * comment ()
 
void comment (const char *)
 
virtual Fl_Typeclick_test (int, int)
 
virtual void add_child (Fl_Type *, Fl_Type *beforethis)
 
virtual void move_child (Fl_Type *, Fl_Type *beforethis)
 
virtual void remove_child (Fl_Type *)
 
virtual void write ()
 
virtual int read_fdesign (const char *, const char *)
 
virtual void write_static ()
 
void write_comment_h (const char *ind="")
 
void write_comment_c (const char *ind="")
 
void write_comment_inline_c (const char *ind=0L)
 
virtual Fl_Widgetenter_live_mode (int top=0)
 
virtual void leave_live_mode ()
 
virtual void copy_properties ()
 
int msgnum ()
 
virtual int is_widget () const
 
virtual int is_button () const
 
virtual int is_input () const
 
virtual int is_value_input () const
 
virtual int is_text_display () const
 
virtual int is_valuator () const
 
virtual int is_spinner () const
 
virtual int is_menu_item () const
 
virtual int is_menu_button () const
 
virtual int is_group () const
 
virtual int is_window () const
 
virtual int is_code () const
 
virtual int is_code_block () const
 
virtual int is_comment () const
 
const char * class_name (const int need_nest) const
 
const class Fl_Class_Typeis_in_class () const
 

Public Attributes

char write_public_state
 
Fl_Class_Typeparent_class
 
- Public Attributes inherited from Fl_Type
Fl_Typeparent
 
char new_selected
 
char selected
 
char open_
 
char visible
 
char rtti
 
int level
 
Fl_Typenext
 
Fl_Typeprev
 
Fl_Typefactory
 
int code_position
 
int header_position
 
int code_position_end
 
int header_position_end
 

Private Attributes

const char * subclass_of
 
char public_
 
const char * class_prefix
 

Additional Inherited Members

- Static Public Attributes inherited from Fl_Type
static Fl_Typefirst
 
static Fl_Typelast
 
static Fl_Typecurrent
 
- Protected Member Functions inherited from Fl_Type
 Fl_Type ()
 
int user_defined (const char *cbname) const
 
- Protected Attributes inherited from Fl_Type
const char * name_
 
const char * label_
 
const char * callback_
 
const char * user_data_
 
const char * user_data_type_
 
const char * comment_
 

Detailed Description

Definition at line 338 of file Fl_Type.h.

Constructor & Destructor Documentation

◆ Fl_Class_Type()

Fl_Class_Type::Fl_Class_Type ( )
inline

Definition at line 342 of file Fl_Type.h.

◆ ~Fl_Class_Type()

Fl_Class_Type::~Fl_Class_Type ( )
inline

Definition at line 343 of file Fl_Type.h.

References free(), and subclass_of.

Member Function Documentation

◆ has_function()

int Fl_Class_Type::has_function ( const char *  rtype,
const char *  sig 
) const

Return 1 if this class contains a function with the given signature.

Definition at line 1482 of file Fl_Function_Type.cxx.

References Fl_Function_Type::has_signature(), Fl_Type::level, Fl_Type::next, and Fl_Type::type_name().

Referenced by Fl_Widget_Type::write_static().

◆ is_class()

int Fl_Class_Type::is_class ( ) const
inlinevirtual

Reimplemented from Fl_Type.

Definition at line 358 of file Fl_Type.h.

◆ is_decl_block()

int Fl_Class_Type::is_decl_block ( ) const
inlinevirtual

Reimplemented from Fl_Type.

Definition at line 357 of file Fl_Type.h.

◆ is_parent()

int Fl_Class_Type::is_parent ( ) const
inlinevirtual

Reimplemented from Fl_Type.

Definition at line 356 of file Fl_Type.h.

◆ is_public()

int Fl_Class_Type::is_public ( ) const
virtual

Reimplemented from Fl_Type.

Definition at line 1329 of file Fl_Function_Type.cxx.

References public_.

◆ make()

Fl_Type * Fl_Class_Type::make ( )
virtual

Implements Fl_Type.

Definition at line 1336 of file Fl_Function_Type.cxx.

References Fl_Type::current, Fl_Type::name(), and p.

◆ open()

◆ pixmapID()

int Fl_Class_Type::pixmapID ( )
inlinevirtual

Reimplemented from Fl_Type.

Definition at line 360 of file Fl_Type.h.

◆ prefix() [1/2]

const char* Fl_Class_Type::prefix ( ) const
inline

Definition at line 366 of file Fl_Type.h.

References class_prefix.

Referenced by open(), and write_code1().

◆ prefix() [2/2]

void Fl_Class_Type::prefix ( const char *  p)

Definition at line 1331 of file Fl_Function_Type.cxx.

References class_prefix, free(), and p.

◆ read_property()

void Fl_Class_Type::read_property ( const char *  c)
virtual

Reimplemented from Fl_Type.

Definition at line 1361 of file Fl_Function_Type.cxx.

References public_, Fl_Type::read_property(), read_word(), storestring(), and subclass_of.

◆ type_name()

virtual const char* Fl_Class_Type::type_name ( )
inlinevirtual

Implements Fl_Type.

Definition at line 355 of file Fl_Type.h.

◆ write_code1()

void Fl_Class_Type::write_code1 ( )
virtual

◆ write_code2()

void Fl_Class_Type::write_code2 ( )
virtual

Reimplemented from Fl_Type.

Definition at line 1474 of file Fl_Function_Type.cxx.

References current_class, parent_class, and write_h().

◆ write_properties()

void Fl_Class_Type::write_properties ( )
virtual

Reimplemented from Fl_Type.

Definition at line 1349 of file Fl_Function_Type.cxx.

References public_, subclass_of, Fl_Type::write_properties(), write_string(), and write_word().

Member Data Documentation

◆ class_prefix

const char* Fl_Class_Type::class_prefix
private

Definition at line 369 of file Fl_Type.h.

Referenced by prefix().

◆ parent_class

Fl_Class_Type* Fl_Class_Type::parent_class

Definition at line 349 of file Fl_Type.h.

Referenced by write_code1(), and write_code2().

◆ public_

char Fl_Class_Type::public_
private

Definition at line 340 of file Fl_Type.h.

Referenced by is_public(), open(), read_property(), and write_properties().

◆ subclass_of

const char* Fl_Class_Type::subclass_of
private

Definition at line 339 of file Fl_Type.h.

Referenced by open(), read_property(), write_code1(), write_properties(), and ~Fl_Class_Type().

◆ write_public_state

char Fl_Class_Type::write_public_state

Definition at line 348 of file Fl_Type.h.

Referenced by write_code1(), and write_public().


The documentation for this class was generated from the following files: