Public Member Functions | Public Attributes | Private Attributes
vgui_file_field Class Reference

File browser in a dialog. More...

#include <vgui_file_field.h>

Inheritance diagram for vgui_file_field:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vgui_file_field (const char *txt, vcl_string &regex, vcl_string &var_to_modify)
 ~vgui_file_field ()
vcl_string current_value () const
bool update_value (vcl_string const &s)

Public Attributes

vcl_string label

Private Attributes

vcl_string & var_
vcl_string & regexp_

Detailed Description

File browser in a dialog.

vgui_file_field is a dialog field implementation that holds a string which contains a file name. In most implementations this will be filled in by a file browser, but the default is just a text entry box.

Definition at line 25 of file vgui_file_field.h.


Constructor & Destructor Documentation

vgui_file_field::vgui_file_field ( const char *  txt,
vcl_string &  regex,
vcl_string &  var_to_modify 
) [inline]

Definition at line 28 of file vgui_file_field.h.

vgui_file_field::~vgui_file_field ( ) [inline]

Definition at line 31 of file vgui_file_field.h.


Member Function Documentation

vcl_string vgui_file_field::current_value ( ) const [inline, virtual]

Implements vgui_dialog_field.

Definition at line 33 of file vgui_file_field.h.

bool vgui_file_field::update_value ( vcl_string const &  s) [inline, virtual]

Implements vgui_dialog_field.

Definition at line 34 of file vgui_file_field.h.


Member Data Documentation

vcl_string vgui_dialog_field::label [inherited]

Definition at line 26 of file vgui_dialog_field.h.

vcl_string& vgui_file_field::regexp_ [private]

Definition at line 38 of file vgui_file_field.h.

vcl_string& vgui_file_field::var_ [private]

Definition at line 37 of file vgui_file_field.h.


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