GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
load_path::dir_info Class Reference
Collaboration diagram for load_path::dir_info:
Collaboration graph
[legend]

Classes

struct  class_info

Public Types

typedef
fcn_file_map_type::const_iterator 
const_fcn_file_map_iterator
typedef
method_file_map_type::const_iterator 
const_method_file_map_iterator
typedef fcn_file_map_type::iterator fcn_file_map_iterator
typedef std::map< std::string,
int
fcn_file_map_type
typedef
method_file_map_type::iterator 
method_file_map_iterator
typedef std::map< std::string,
class_info
method_file_map_type

Public Member Functions

 dir_info (void)
 dir_info (const std::string &d)
 dir_info (const dir_info &di)
 ~dir_info (void)
dir_infooperator= (const dir_info &di)
void update (void)

Public Attributes

std::string abs_dir_name
string_vector all_files
octave_time dir_mtime
std::string dir_name
octave_time dir_time_last_checked
string_vector fcn_files
bool is_relative
method_file_map_type method_file_map
fcn_file_map_type private_file_map

Private Member Functions

void get_file_list (const std::string &d)
void get_method_file_map (const std::string &d, const std::string &class_name)
void get_private_file_map (const std::string &d)
void initialize (void)

Friends

fcn_file_map_type get_fcn_files (const std::string &d)

Detailed Description

Definition at line 260 of file load-path.h.

Member Typedef Documentation

typedef fcn_file_map_type::const_iterator load_path::dir_info::const_fcn_file_map_iterator

Definition at line 267 of file load-path.h.

typedef method_file_map_type::const_iterator load_path::dir_info::const_method_file_map_iterator

Definition at line 297 of file load-path.h.

typedef fcn_file_map_type::iterator load_path::dir_info::fcn_file_map_iterator

Definition at line 268 of file load-path.h.

typedef std::map<std::string, int> load_path::dir_info::fcn_file_map_type

Definition at line 265 of file load-path.h.

typedef method_file_map_type::iterator load_path::dir_info::method_file_map_iterator

Definition at line 298 of file load-path.h.

typedef std::map<std::string, class_info> load_path::dir_info::method_file_map_type

Definition at line 295 of file load-path.h.

Constructor & Destructor Documentation

load_path::dir_info::dir_info ( void  )
inline

Definition at line 303 of file load-path.h.

load_path::dir_info::dir_info ( const std::string &  d)
inline

Definition at line 309 of file load-path.h.

References initialize().

load_path::dir_info::dir_info ( const dir_info di)
inline

Definition at line 317 of file load-path.h.

load_path::dir_info::~dir_info ( void  )
inline

Definition at line 326 of file load-path.h.

Member Function Documentation

void load_path::dir_info::get_file_list ( const std::string &  d)
private
void load_path::dir_info::get_method_file_map ( const std::string &  d,
const std::string &  class_name 
)
private

Definition at line 276 of file load-path.cc.

References concat(), load_path::get_fcn_files, and base_file_stat::is_dir().

void load_path::dir_info::get_private_file_map ( const std::string &  d)
private

Definition at line 270 of file load-path.cc.

References load_path::get_fcn_files.

void load_path::dir_info::initialize ( void  )
private
dir_info& load_path::dir_info::operator= ( const dir_info di)
inline
void load_path::dir_info::update ( void  )

Friends And Related Function Documentation

fcn_file_map_type get_fcn_files ( const std::string &  d)
friend

Definition at line 218 of file load-path.cc.

Member Data Documentation

std::string load_path::dir_info::abs_dir_name

Definition at line 349 of file load-path.h.

Referenced by operator=().

string_vector load_path::dir_info::all_files

Definition at line 353 of file load-path.h.

Referenced by operator=().

octave_time load_path::dir_info::dir_mtime

Definition at line 351 of file load-path.h.

Referenced by operator=().

std::string load_path::dir_info::dir_name
octave_time load_path::dir_info::dir_time_last_checked

Definition at line 352 of file load-path.h.

Referenced by operator=(), and update().

string_vector load_path::dir_info::fcn_files

Definition at line 354 of file load-path.h.

Referenced by load_path::add_to_fcn_map(), load_path::move(), and operator=().

bool load_path::dir_info::is_relative

Definition at line 350 of file load-path.h.

Referenced by operator=(), and update().

method_file_map_type load_path::dir_info::method_file_map

Definition at line 356 of file load-path.h.

Referenced by load_path::add_to_method_map(), and operator=().

fcn_file_map_type load_path::dir_info::private_file_map

Definition at line 355 of file load-path.h.

Referenced by load_path::add_to_private_fcn_map(), and operator=().


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