Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SoftFilename Class Reference

#include <softFilename.h>

List of all members.

Public Member Functions

 SoftFilename (const string &dirname, const string &filename)
 SoftFilename (const SoftFilename &copy)
void operator= (const SoftFilename &copy)
const string & get_dirname () const
const string & get_filename () const
bool has_version () const
string get_1_0_filename () const
const string & get_base () const
int get_major () const
int get_minor () const
const string & get_extension () const
string get_non_extension () const
bool is_1_0 () const
void make_1_0 ()
bool is_same_file (const SoftFilename &other) const
bool operator< (const SoftFilename &other) const
void set_in_cvs (bool in_cvs)
bool get_in_cvs () const
void increment_use_count ()
int get_use_count () const

Private Attributes

string _dirname
string _filename
bool _has_version
string _base
int _major
int _minor
string _ext
bool _in_cvs
int _use_count


Constructor & Destructor Documentation

SoftFilename::SoftFilename const string &  dirname,
const string &  filename
 

Definition at line 29 of file softFilename.cxx.

References _base, _ext, _filename, _has_version, _in_cvs, _major, _minor, _use_count, dot(), and size_t.

SoftFilename::SoftFilename const SoftFilename &  copy  ) 
 

Definition at line 76 of file softFilename.cxx.


Member Function Documentation

string SoftFilename::get_1_0_filename  )  const
 

Definition at line 147 of file softFilename.cxx.

References _base, _ext, _has_version, and nassertr.

Referenced by make_1_0(), and SoftCVS::rename_file().

const string & SoftFilename::get_base  )  const
 

Definition at line 159 of file softFilename.cxx.

References _base, _filename, _has_version, and nassertr.

const string & SoftFilename::get_dirname  )  const
 

Definition at line 114 of file softFilename.cxx.

References _dirname.

Referenced by SoftCVS::count_references(), SoftCVS::remove_unused_elements(), and SoftCVS::rename_file().

const string & SoftFilename::get_extension  )  const
 

Definition at line 193 of file softFilename.cxx.

References _ext, _has_version, and nassertr.

Referenced by SoftCVS::traverse_subdir().

const string & SoftFilename::get_filename  )  const
 

Definition at line 125 of file softFilename.cxx.

References _filename.

Referenced by SoftCVS::count_references(), SoftCVS::remove_unused_elements(), and SoftCVS::rename_file().

bool SoftFilename::get_in_cvs  )  const
 

Definition at line 298 of file softFilename.cxx.

References _in_cvs.

Referenced by SoftCVS::count_references(), SoftCVS::remove_unused_elements(), and SoftCVS::rename_file().

int SoftFilename::get_major  )  const
 

Definition at line 170 of file softFilename.cxx.

References _has_version, _major, and nassertr.

int SoftFilename::get_minor  )  const
 

Definition at line 181 of file softFilename.cxx.

References _has_version, _minor, and nassertr.

string SoftFilename::get_non_extension  )  const
 

Definition at line 204 of file softFilename.cxx.

References _ext, _filename, _has_version, and nassertr.

int SoftFilename::get_use_count  )  const
 

Definition at line 320 of file softFilename.cxx.

References _use_count.

Referenced by SoftCVS::remove_unused_elements().

bool SoftFilename::has_version  )  const
 

Definition at line 136 of file softFilename.cxx.

References _has_version.

Referenced by SoftCVS::traverse_subdir().

void SoftFilename::increment_use_count  ) 
 

Definition at line 309 of file softFilename.cxx.

References _use_count.

Referenced by SoftCVS::scan_scene_file(), and SoftCVS::traverse_subdir().

bool SoftFilename::is_1_0  )  const
 

Definition at line 217 of file softFilename.cxx.

References _has_version, _major, _minor, and nassertr.

Referenced by SoftCVS::collapse_scene_files().

bool SoftFilename::is_same_file const SoftFilename &  other  )  const
 

Definition at line 243 of file softFilename.cxx.

References _base, and _ext.

void SoftFilename::make_1_0  ) 
 

Definition at line 228 of file softFilename.cxx.

References _filename, _has_version, _major, _minor, and get_1_0_filename().

Referenced by SoftCVS::collapse_scene_files().

bool SoftFilename::operator< const SoftFilename &  other  )  const
 

Definition at line 257 of file softFilename.cxx.

References _base, _has_version, _major, and _minor.

void SoftFilename::operator= const SoftFilename &  copy  ) 
 

Definition at line 95 of file softFilename.cxx.

References _base, _dirname, _ext, _filename, _has_version, _in_cvs, _major, _minor, and _use_count.

void SoftFilename::set_in_cvs bool  in_cvs  ) 
 

Definition at line 287 of file softFilename.cxx.

References _in_cvs.

Referenced by SoftCVS::rename_file(), and SoftCVS::traverse_subdir().


Member Data Documentation

string SoftFilename::_base [private]
 

Definition at line 69 of file softFilename.h.

Referenced by get_1_0_filename(), get_base(), is_same_file(), operator<(), operator=(), and SoftFilename().

string SoftFilename::_dirname [private]
 

Definition at line 66 of file softFilename.h.

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

string SoftFilename::_ext [private]
 

Definition at line 72 of file softFilename.h.

Referenced by get_1_0_filename(), get_extension(), get_non_extension(), is_same_file(), operator=(), and SoftFilename().

string SoftFilename::_filename [private]
 

Definition at line 67 of file softFilename.h.

Referenced by get_base(), get_filename(), get_non_extension(), make_1_0(), operator=(), and SoftFilename().

bool SoftFilename::_has_version [private]
 

Definition at line 68 of file softFilename.h.

Referenced by get_1_0_filename(), get_base(), get_extension(), get_major(), get_minor(), get_non_extension(), has_version(), is_1_0(), make_1_0(), operator<(), operator=(), and SoftFilename().

bool SoftFilename::_in_cvs [private]
 

Definition at line 73 of file softFilename.h.

Referenced by get_in_cvs(), operator=(), set_in_cvs(), and SoftFilename().

int SoftFilename::_major [private]
 

Definition at line 70 of file softFilename.h.

Referenced by get_major(), is_1_0(), make_1_0(), operator<(), operator=(), and SoftFilename().

int SoftFilename::_minor [private]
 

Definition at line 71 of file softFilename.h.

Referenced by get_minor(), is_1_0(), make_1_0(), operator<(), operator=(), and SoftFilename().

int SoftFilename::_use_count [private]
 

Definition at line 74 of file softFilename.h.

Referenced by get_use_count(), increment_use_count(), operator=(), and SoftFilename().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:25 2003 for Panda-Tool by doxygen1.3