ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StringUtility::FileNameClassification Class Reference

#include <string_functions.h>

Public Member Functions

 FileNameClassification (FileNameLocation loc, const FileNameLibrary &lib, int dist)
 
 FileNameClassification ()
 
FileNameLocation getLocation () const
 
FileNameLibrary getLibrary () const
 
int getDistanceFromSourceDirectory () const
 
bool isUserCode () const
 
bool isLibraryCode () const
 
std::string getLibraryName () const
 

Private Attributes

FileNameLocation location
 
FileNameLibrary library
 
int distance
 

Detailed Description

Definition at line 320 of file string_functions.h.

Constructor & Destructor Documentation

StringUtility::FileNameClassification::FileNameClassification ( FileNameLocation  loc,
const FileNameLibrary lib,
int  dist 
)
inline

Definition at line 331 of file string_functions.h.

References distance, library, and location.

StringUtility::FileNameClassification::FileNameClassification ( )
inline

Definition at line 337 of file string_functions.h.

References distance, library, and location.

Member Function Documentation

FileNameLocation StringUtility::FileNameClassification::getLocation ( ) const
inline

Definition at line 344 of file string_functions.h.

References location.

FileNameLibrary StringUtility::FileNameClassification::getLibrary ( ) const
inline

Definition at line 349 of file string_functions.h.

References library.

int StringUtility::FileNameClassification::getDistanceFromSourceDirectory ( ) const
inline

Definition at line 370 of file string_functions.h.

References distance.

bool StringUtility::FileNameClassification::isUserCode ( ) const
inline

Definition at line 373 of file string_functions.h.

References StringUtility::FILENAME_LOCATION_USER, and location.

bool StringUtility::FileNameClassification::isLibraryCode ( ) const
inline

Definition at line 375 of file string_functions.h.

References StringUtility::FILENAME_LOCATION_LIBRARY, and location.

std::string StringUtility::FileNameClassification::getLibraryName ( ) const
inline

Definition at line 380 of file string_functions.h.

References library.

Member Data Documentation

FileNameLocation StringUtility::FileNameClassification::location
private

Definition at line 323 of file string_functions.h.

Referenced by FileNameClassification(), getLocation(), isLibraryCode(), and isUserCode().

FileNameLibrary StringUtility::FileNameClassification::library
private

Definition at line 326 of file string_functions.h.

Referenced by FileNameClassification(), getLibrary(), and getLibraryName().

int StringUtility::FileNameClassification::distance
private

Definition at line 328 of file string_functions.h.

Referenced by FileNameClassification(), and getDistanceFromSourceDirectory().


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