Isis 3 Programmer Reference
Isis::FileName::Data Class Reference

This is the reference-counted data for FileName. More...

Inheritance diagram for Isis::FileName::Data:
Inheritance graph
Collaboration diagram for Isis::FileName::Data:
Collaboration graph

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
 

Detailed Description

This is the reference-counted data for FileName.

Author
2012-05-02 Steven Lambright

Definition at line 219 of file FileName.h.

Constructor & Destructor Documentation

◆ Data() [1/2]

Isis::FileName::Data::Data ( )

Data constructor, creates a new Data object.

Definition at line 792 of file FileName.cpp.

◆ Data() [2/2]

Isis::FileName::Data::Data ( const Data other)

Data copy constructor, creates a copy of a Data object.

Parameters
&otherData object to copy

Definition at line 805 of file FileName.cpp.

◆ ~Data()

Isis::FileName::Data::~Data ( )

Destroys the Data object.

Definition at line 816 of file FileName.cpp.

Member Function Documentation

◆ expanded()

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.

Parameters
includeAttributesboolean to represent whether the attricubtes should be included.
Returns
Qstring

Definition at line 928 of file FileName.cpp.

◆ original()

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.

Parameters
includeAttributesboolean to represent whether the attricubtes should be included.
Returns
Qstring

Definition at line 833 of file FileName.cpp.

◆ setOriginal()

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.

Parameters
originalStrthe new file name

Definition at line 854 of file FileName.cpp.

References Isis::PvlContainer::hasKeyword(), and Isis::FileName::original().

Referenced by Isis::FileName::FileName().


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