GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::load_path::dir_info Class Reference
Collaboration diagram for octave::load_path::dir_info:

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_infomethod_file_map_type
 
typedef package_dir_map_type::iterator package_dir_map_iterator
 
typedef std::map< std::string, dir_infopackage_dir_map_type
 

Public Member Functions

 dir_info (const dir_info &)=default
 
 dir_info (const std::string &d)
 
 dir_info (void)=default
 
 ~dir_info (void)=default
 
bool is_package (const std::string &name) const
 
dir_infooperator= (const dir_info &)=default
 
bool update (void)
 

Public Attributes

std::string abs_dir_name
 
string_vector all_files
 
sys::time dir_mtime
 
std::string dir_name
 
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 218 of file load-path.h.

Member Typedef Documentation

◆ const_fcn_file_map_iterator

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

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

◆ const_method_file_map_iterator

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

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

◆ const_package_dir_map_iterator

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

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

◆ fcn_file_map_iterator

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

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

◆ fcn_file_map_type

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

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

◆ method_file_map_iterator

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

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

◆ method_file_map_type

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

◆ package_dir_map_iterator

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

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

◆ package_dir_map_type

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

Constructor & Destructor Documentation

◆ dir_info() [1/3]

octave::load_path::dir_info::dir_info ( void  )
default

◆ dir_info() [2/3]

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

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

References initialize().

◆ dir_info() [3/3]

octave::load_path::dir_info::dir_info ( const dir_info )
default

◆ ~dir_info()

octave::load_path::dir_info::~dir_info ( void  )
default

Member Function Documentation

◆ get_file_list()

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

◆ get_method_file_map()

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

◆ get_package_dir()

void octave::load_path::dir_info::get_package_dir ( const std::string &  d,
const std::string &  package_name 
)
private

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

References d.

◆ get_private_file_map()

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

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

References d, and octave::load_path::get_fcn_files.

◆ initialize()

◆ is_package()

bool octave::load_path::dir_info::is_package ( const std::string &  name) const

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

References name.

◆ operator=()

dir_info& octave::load_path::dir_info::operator= ( const dir_info )
default

◆ update()

Friends And Related Function Documentation

◆ get_fcn_files

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

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

Member Data Documentation

◆ abs_dir_name

◆ all_files

string_vector octave::load_path::dir_info::all_files

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

Referenced by update().

◆ dir_mtime

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

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

Referenced by update().

◆ dir_name

std::string octave::load_path::dir_info::dir_name

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

Referenced by octave::load_path::package_info::add(), and update().

◆ dir_time_last_checked

sys::time octave::load_path::dir_info::dir_time_last_checked

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

Referenced by update().

◆ fcn_files

◆ is_relative

bool octave::load_path::dir_info::is_relative

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

Referenced by update().

◆ method_file_map

method_file_map_type octave::load_path::dir_info::method_file_map

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

Referenced by octave::load_path::package_info::add_to_method_map(), and update().

◆ package_dir_map

package_dir_map_type octave::load_path::dir_info::package_dir_map

◆ private_file_map

fcn_file_map_type octave::load_path::dir_info::private_file_map

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

Referenced by octave::load_path::package_info::add_to_private_fcn_map(), and update().


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