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_Preferences::RootNode Class Reference

#include <Fl_Preferences.H>

Collaboration diagram for Fl_Preferences::RootNode:
[legend]

Public Member Functions

 RootNode (Fl_Preferences *, Root root, const char *vendor, const char *application)
 
 RootNode (Fl_Preferences *, const char *path, const char *vendor, const char *application)
 
 RootNode (Fl_Preferences *)
 
 ~RootNode ()
 
int read ()
 
int write ()
 
char getPath (char *path, int pathlen)
 

Private Attributes

Fl_Preferencesprefs_
 
char * filename_
 
char * vendor_
 
char * application_
 

Detailed Description

Definition at line 245 of file Fl_Preferences.H.

Constructor & Destructor Documentation

◆ RootNode() [1/3]

Fl_Preferences::RootNode::RootNode ( Fl_Preferences prefs,
Root  root,
const char *  vendor,
const char *  application 
)

◆ RootNode() [2/3]

Fl_Preferences::RootNode::RootNode ( Fl_Preferences prefs,
const char *  path,
const char *  vendor,
const char *  application 
)

◆ RootNode() [3/3]

Fl_Preferences::RootNode::RootNode ( Fl_Preferences prefs)

Definition at line 1089 of file Fl_Preferences.cxx.

◆ ~RootNode()

Fl_Preferences::RootNode::~RootNode ( )

Definition at line 1097 of file Fl_Preferences.cxx.

References free().

Member Function Documentation

◆ getPath()

char Fl_Preferences::RootNode::getPath ( char *  path,
int  pathlen 
)

◆ read()

int Fl_Preferences::RootNode::read ( )

◆ write()

int Fl_Preferences::RootNode::write ( )

Definition at line 1153 of file Fl_Preferences.cxx.

References f, fl_chmod(), fl_fopen(), fl_make_path_for_file(), and p.

Referenced by Fl_Preferences::flush().

Member Data Documentation

◆ application_

char * Fl_Preferences::RootNode::application_
private

Definition at line 248 of file Fl_Preferences.H.

Referenced by RootNode().

◆ filename_

char* Fl_Preferences::RootNode::filename_
private

Definition at line 247 of file Fl_Preferences.H.

Referenced by RootNode().

◆ prefs_

Fl_Preferences* Fl_Preferences::RootNode::prefs_
private

Definition at line 246 of file Fl_Preferences.H.

◆ vendor_

char* Fl_Preferences::RootNode::vendor_
private

Definition at line 248 of file Fl_Preferences.H.

Referenced by RootNode().


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