Isis 3 Programmer Reference
|
This is the reference-counted data for FileName. More...
Public Member Functions | |
Data () | |
Data constructor, creates a new Data object. More... | |
Data (const Data &other) | |
Data copy constructor, creates a copy of a Data object. More... | |
~Data () | |
Destroys the Data object. More... | |
QString | original (bool includeAttributes) const |
Returns the original file name, stored in m_originalFileNameString. More... | |
void | setOriginal (const QString &originalStr) |
Sets the original file name, stored in m_originalFileNameString. More... | |
QString | expanded (bool includeAttributes) const |
Returns the expanded file name, stored in m_expandedFileNameString. More... | |
Private Attributes | |
QString * | m_originalFileNameString |
QString * | m_expandedFileNameString |
This is the reference-counted data for FileName.
Definition at line 219 of file FileName.h.
Isis::FileName::Data::Data | ( | ) |
Data constructor, creates a new Data object.
Definition at line 792 of file FileName.cpp.
Isis::FileName::Data::Data | ( | const Data & | other | ) |
Data copy constructor, creates a copy of a Data object.
&other | Data object to copy |
Definition at line 805 of file FileName.cpp.
Isis::FileName::Data::~Data | ( | ) |
Destroys the Data object.
Definition at line 816 of file FileName.cpp.
QString Isis::FileName::Data::expanded | ( | bool | includeAttributes | ) | const |
Returns the expanded file name, stored in m_expandedFileNameString.
Boolean parameter includeAttributes determines if the returned file name has the variables included.
includeAttributes | boolean to represent whether the attricubtes should be included. |
Definition at line 928 of file FileName.cpp.
QString Isis::FileName::Data::original | ( | bool | includeAttributes | ) | const |
Returns the original file name, stored in m_originalFileNameString.
Boolean parameter includeAttributes determines if the returned file name has the variables included.
includeAttributes | boolean to represent whether the attricubtes should be included. |
Definition at line 833 of file FileName.cpp.
void Isis::FileName::Data::setOriginal | ( | const QString & | originalStr | ) |
Sets the original file name, stored in m_originalFileNameString.
QString parameter is the new file name to store in m_originalFileNameString. The expanded verison is also set and stored in m_expandedFileNameString when this method is called.
originalStr | the new file name |
Definition at line 854 of file FileName.cpp.
References Isis::PvlContainer::hasKeyword(), and Isis::FileName::original().
Referenced by Isis::FileName::FileName().