#include <cppFile.h>
Public Types | |
enum | Source { S_local, S_alternate, S_system, S_none } |
Public Member Functions | |
CPPFile (const Filename &filename="", const Filename &filename_as_referenced="", Source source=S_none) | |
CPPFile (const CPPFile ©) | |
void | operator= (const CPPFile ©) |
~CPPFile () | |
bool | is_c_or_i_file () const |
Returns true if the file appears to be a C or C++ source code file based on its extension. | |
bool | is_c_file () const |
Returns true if the file appears to be a C or C++ source code file based on its extension. | |
void | replace_nearer (const CPPFile &other) |
If the other file is "nearer" than this file (in the sense that a file in the local directory is nearer than a file in the system directory, etc.), replaces this file's information with that of the other. | |
bool | operator< (const CPPFile &other) const |
bool | operator== (const CPPFile &other) const |
bool | operator!= (const CPPFile &other) const |
const char * | c_str () const |
bool | empty () const |
Static Public Member Functions | |
bool | is_c_or_i_file (const Filename &filename) |
Returns true if the file appears to be a C or C++ source code file based on its extension. | |
bool | is_c_file (const Filename &filename) |
Returns true if the file appears to be a C or C++ source code file based on its extension. | |
Public Attributes | |
Filename | _filename |
Filename | _filename_as_referenced |
Source | _source |
Each declaration indicates the source file where it appeared.
Definition at line 41 of file cppFile.h.
|
|
|
Definition at line 35 of file cppFile.cxx. |
|
Definition at line 53 of file cppFile.cxx. References _filename, _filename_as_referenced, and _source. |
|
Definition at line 82 of file cppFile.cxx. References _filename, and is_c_or_i_file(). |
|
Definition at line 247 of file cppFile.cxx. |
|
Definition at line 259 of file cppFile.cxx. |
|
Returns true if the file appears to be a C or C++ source code file based on its extension. That is, returns true if the filename ends in .c, .C, .cc, .cpp, or any of a series of likely extensions. Definition at line 167 of file cppFile.cxx. References _filename. |
|
Returns true if the file appears to be a C or C++ source code file based on its extension. That is, returns true if the filename ends in .c, .C, .cc, .cpp, or any of a series of likely extensions. Definition at line 148 of file cppFile.cxx. References _source. Referenced by is_c_or_i_file(), InterrogateBuilder::remap_indices(), and InterrogateBuilder::scan_function(). |
|
Returns true if the file appears to be a C or C++ source code file based on its extension. That is, returns true if the filename ends in .c, .C, .cc, .cpp, or any of a series of likely extensions. Definition at line 119 of file cppFile.cxx. References _filename, and is_c_file(). |
|
Returns true if the file appears to be a C or C++ source code file based on its extension. That is, returns true if the filename ends in .c, .C, .cc, .cpp, or any of a series of likely extensions. Definition at line 100 of file cppFile.cxx. Referenced by ~CPPFile(). |
|
Definition at line 235 of file cppFile.cxx. |
|
Definition at line 211 of file cppFile.cxx. |
|
Definition at line 68 of file cppFile.cxx. |
|
Definition at line 223 of file cppFile.cxx. |
|
If the other file is "nearer" than this file (in the sense that a file in the local directory is nearer than a file in the system directory, etc.), replaces this file's information with that of the other. Otherwise, does nothing. Definition at line 197 of file cppFile.cxx. References _filename, and Filename::c_str(). |
|
Definition at line 72 of file cppFile.h. Referenced by CPPFile(), is_c_file(), is_c_or_i_file(), replace_nearer(), ~CPPFile(), and CPPPreprocessor::InputFile::~InputFile(). |
|
Definition at line 73 of file cppFile.h. Referenced by CPPFile(), InterrogateBuilder::remap_indices(), and InterrogateBuilder::scan_function(). |
|
Definition at line 74 of file cppFile.h. Referenced by CPPFile(), is_c_file(), InterrogateBuilder::remap_indices(), and InterrogateBuilder::scan_function(). |