An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 3 Programmer Reference
|
This is the reference-counted data for FileName. More...
Public Member Functions | |
Data () | |
Data constructor, creates a new Data object. | |
Data (const Data &other) | |
Data copy constructor, creates a copy of a Data object. | |
~Data () | |
Destroys the Data object. | |
QString | original (bool includeAttributes) const |
Returns the original file name, stored in m_originalFileNameString. | |
void | setOriginal (const QString &originalStr) |
Sets the original file name, stored in m_originalFileNameString. | |
QString | expanded (bool includeAttributes) const |
Returns the expanded file name, stored in m_expandedFileNameString. | |
Private Attributes | |
QString * | m_originalFileNameString |
QString * | m_expandedFileNameString |
This is the reference-counted data for FileName.
Definition at line 203 of file FileName.h.
Isis::FileName::Data::Data | ( | ) |
Data constructor, creates a new Data object.
Definition at line 776 of file FileName.cpp.
Referenced by Data().
Isis::FileName::Data::Data | ( | const Data & | other | ) |
Isis::FileName::Data::~Data | ( | ) |
Destroys the Data object.
Definition at line 800 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 912 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 817 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 838 of file FileName.cpp.
References Isis::PvlContainer::hasKeyword(), and Isis::FileName::original().
Referenced by Isis::FileName::FileName(), and Isis::FileName::FileName().
|
private |
Definition at line 226 of file FileName.h.
|
private |
Definition at line 222 of file FileName.h.