GNU Octave  4.0.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
package_dir_map_type::const_iterator 
const_package_dir_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
 
typedef
package_dir_map_type::iterator 
package_dir_map_iterator
 
typedef std::map< std::string,
dir_info
package_dir_map_type
 

Public Member Functions

 dir_info (void)
 
 dir_info (const std::string &d)
 
 dir_info (const dir_info &di)
 
 ~dir_info (void)
 
bool is_package (const std::string &name) const
 
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
 
package_dir_map_type package_dir_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_package_dir (const std::string &d, const std::string &package_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 289 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 296 of file load-path.h.

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

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

typedef package_dir_map_type::const_iterator load_path::dir_info::const_package_dir_map_iterator

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

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

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

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

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

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

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

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

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

typedef package_dir_map_type::iterator load_path::dir_info::package_dir_map_iterator

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

typedef std::map<std::string, dir_info> load_path::dir_info::package_dir_map_type

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

Constructor & Destructor Documentation

load_path::dir_info::dir_info ( void  )
inline

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

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

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

References initialize().

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

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

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

Definition at line 364 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
void load_path::dir_info::get_package_dir ( const std::string &  d,
const std::string &  package_name 
)
private

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

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

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

References load_path::get_fcn_files.

void load_path::dir_info::initialize ( void  )
private
bool load_path::dir_info::is_package ( const std::string &  name) const

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

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 243 of file load-path.cc.

Member Data Documentation

std::string load_path::dir_info::abs_dir_name

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

Referenced by operator=().

string_vector load_path::dir_info::all_files

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

Referenced by operator=().

octave_time load_path::dir_info::dir_mtime

Definition at line 390 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 391 of file load-path.h.

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

string_vector load_path::dir_info::fcn_files
bool load_path::dir_info::is_relative

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

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

method_file_map_type load_path::dir_info::method_file_map

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

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

package_dir_map_type load_path::dir_info::package_dir_map

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

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

fcn_file_map_type load_path::dir_info::private_file_map

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

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


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