GNU Octave  4.2.1
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::sys::time dir_mtime
 
std::string dir_name
 
octave::sys::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 297 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 304 of file load-path.h.

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

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

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

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

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

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

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

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

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

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

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

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

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

Constructor & Destructor Documentation

load_path::dir_info::dir_info ( void  )
inline

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

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

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

References initialize().

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

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

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

Definition at line 372 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 324 of file load-path.cc.

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

Definition at line 304 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 121 of file load-path.cc.

References string.

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

Member Data Documentation

std::string load_path::dir_info::abs_dir_name

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

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

string_vector load_path::dir_info::all_files

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

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

octave::sys::time load_path::dir_info::dir_mtime

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

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

std::string load_path::dir_info::dir_name
octave::sys::time load_path::dir_info::dir_time_last_checked

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

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

method_file_map_type load_path::dir_info::method_file_map

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

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

package_dir_map_type load_path::dir_info::package_dir_map

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

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

fcn_file_map_type load_path::dir_info::private_file_map

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

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


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