|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimFilenameProperty.h>
Public Types | |
| enum | ossimFilenamePropertyIoType { ossimFilenamePropertyIoType_NOT_SPECIFIED = 0, ossimFilenamePropertyIoType_INPUT = 1, ossimFilenamePropertyIoType_OUTPUT = 2 } |
Public Types inherited from ossimProperty | |
| enum | ossimPropertyChangeType { ossimPropertyChangeType_NOTSPECIFIED = 0, ossimPropertyChangeType_CACHE_REFRESH = 1, ossimPropertyChangeType_FULL_REFRESH = 2, ossimPropertyChangeType_AFFECTS_OTHERS = 4, ossimPropertyChangeType_ALL = (ossimPropertyChangeType_CACHE_REFRESH|ossimPropertyChangeType_FULL_REFRESH|ossimPropertyChangeType_AFFECTS_OTHERS) } |
Public Member Functions | |
| ossimFilenameProperty (const ossimString &name=ossimString(""), const ossimFilename &value=ossimFilename(""), const std::vector< ossimString > &filterList=std::vector< ossimString >()) | |
| ossimFilenameProperty (const ossimFilenameProperty &rhs) | |
| virtual | ~ossimFilenameProperty () |
| ossimObject * | dup () const |
| virtual void | valueToString (ossimString &valueResult) const |
| virtual bool | setValue (const ossimString &value) |
| const ossimFilenameProperty & | operator= (ossimFilenameProperty &rhs) |
| virtual const ossimProperty & | assign (const ossimProperty &rhs) |
| void | clearFilterList () |
| ossim_uint32 | getNumberOfFilters () const |
| void | setFilter (ossim_uint32 idx, const ossimString &filterValue) |
| ossimString | getFilter (ossim_uint32 idx) const |
| ossimString | getFilterListAsString (const ossimString &separator=ossimString("\)) const |
| const std::vector< ossimString > & | getFilterList () const |
| void | addFilter (const ossimString &filter) |
| void | setIoType (ossimFilenamePropertyIoType ioType) |
| ossimFilenamePropertyIoType | getIoType () const |
| bool | isIoTypeInput () const |
| bool | isIoTypeOutput () const |
Public Member Functions inherited from ossimProperty | |
| ossimProperty (const ossimString &name=ossimString("")) | |
| ossimProperty (const ossimProperty &rhs) | |
| const ossimProperty & | operator= (const ossimProperty &rhs) |
| const ossimString & | getName () const |
| void | setName (const ossimString &name) |
| virtual ossimString | valueToString () const |
| virtual const ossimContainerProperty * | asContainer () const |
| virtual ossimContainerProperty * | asContainer () |
| bool | isChangeTypeSet (int type) const |
| void | clearChangeType () |
| void | setChangeType (int type, bool on=true) |
| void | setFullRefreshBit () |
| void | setCacheRefreshBit () |
| ossimPropertyChangeType | getChangeType () const |
| bool | isFullRefresh () const |
| bool | isCacheRefresh () const |
| bool | isChangeTypeSpecified () const |
| bool | affectsOthers () const |
| virtual void | setReadOnlyFlag (bool flag) |
| bool | getReadOnlyFlag () const |
| bool | isReadOnly () const |
| void | setModifiedFlag (bool flag) |
| bool | getModifiedFlag () const |
| bool | isModified () const |
| void | clearModifiedFlag () |
| void | setDescription (const ossimString &description) |
| virtual ossimString | getDescription () const |
| virtual ossimRefPtr< ossimXmlNode > | toXml () const |
| virtual void | saveState (ossimKeywordlist &kwl, const ossimString &prefix="") const |
| virtual void | accept (ossimVisitor &visitor) |
Public Member Functions inherited from ossimObject | |
| ossimObject () | |
| virtual | ~ossimObject () |
| virtual ossimString | getShortName () const |
| virtual ossimString | getLongName () const |
| virtual ossimString | getClassName () const |
| virtual RTTItypeid | getType () const |
| virtual bool | canCastTo (ossimObject *obj) const |
| virtual bool | canCastTo (const RTTItypeid &id) const |
| virtual bool | canCastTo (const ossimString &parentClassName) const |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| virtual std::ostream & | print (std::ostream &out) const |
| Generic print method. More... | |
| virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Protected Attributes | |
| ossimFilename | theValue |
| std::vector< ossimString > | theFilterList |
| ossimFilenamePropertyIoType | theIoType |
Protected Attributes inherited from ossimProperty | |
| ossimString | theName |
| ossimString | theDescription |
| bool | theReadOnlyFlag |
| ossimPropertyChangeType | theChangeType |
| bool | theModifiedFlag |
Additional Inherited Members | |
Protected Member Functions inherited from ossimProperty | |
| virtual | ~ossimProperty () |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 16 of file ossimFilenameProperty.h.
| Enumerator | |
|---|---|
| ossimFilenamePropertyIoType_NOT_SPECIFIED | |
| ossimFilenamePropertyIoType_INPUT | |
| ossimFilenamePropertyIoType_OUTPUT | |
Definition at line 20 of file ossimFilenameProperty.h.
| ossimFilenameProperty::ossimFilenameProperty | ( | const ossimString & | name = ossimString(""), |
| const ossimFilename & | value = ossimFilename(""), |
||
| const std::vector< ossimString > & | filterList = std::vector<ossimString>() |
||
| ) |
Definition at line 13 of file ossimFilenameProperty.cpp.
Referenced by dup().
| ossimFilenameProperty::ossimFilenameProperty | ( | const ossimFilenameProperty & | rhs | ) |
Definition at line 23 of file ossimFilenameProperty.cpp.
|
virtual |
Definition at line 31 of file ossimFilenameProperty.cpp.
| void ossimFilenameProperty::addFilter | ( | const ossimString & | filter | ) |
Definition at line 128 of file ossimFilenameProperty.cpp.
References theFilterList.
Referenced by ossimTiffWriter::getProperty().
|
virtual |
Reimplemented from ossimProperty.
Definition at line 59 of file ossimFilenameProperty.cpp.
References ossimProperty::assign(), theFilterList, theIoType, theValue, and ossimProperty::valueToString().
Referenced by operator=().
| void ossimFilenameProperty::clearFilterList | ( | ) |
Definition at line 74 of file ossimFilenameProperty.cpp.
References theFilterList.
|
virtual |
Reimplemented from ossimObject.
Definition at line 35 of file ossimFilenameProperty.cpp.
References ossimFilenameProperty().
| ossimString ossimFilenameProperty::getFilter | ( | ossim_uint32 | idx | ) | const |
Definition at line 93 of file ossimFilenameProperty.cpp.
References getNumberOfFilters(), and theFilterList.
Referenced by getFilterListAsString().
| const std::vector< ossimString > & ossimFilenameProperty::getFilterList | ( | ) | const |
Definition at line 123 of file ossimFilenameProperty.cpp.
References theFilterList.
| ossimString ossimFilenameProperty::getFilterListAsString | ( | const ossimString & | separator = ossimString("\n") | ) | const |
Definition at line 104 of file ossimFilenameProperty.cpp.
References getFilter(), and getNumberOfFilters().
| ossimFilenameProperty::ossimFilenamePropertyIoType ossimFilenameProperty::getIoType | ( | ) | const |
Definition at line 139 of file ossimFilenameProperty.cpp.
References theIoType.
| ossim_uint32 ossimFilenameProperty::getNumberOfFilters | ( | ) | const |
Definition at line 79 of file ossimFilenameProperty.cpp.
References theFilterList.
Referenced by getFilter(), getFilterListAsString(), and setFilter().
| bool ossimFilenameProperty::isIoTypeInput | ( | ) | const |
Definition at line 144 of file ossimFilenameProperty.cpp.
References ossimFilenamePropertyIoType_INPUT, and theIoType.
| bool ossimFilenameProperty::isIoTypeOutput | ( | ) | const |
Definition at line 149 of file ossimFilenameProperty.cpp.
References ossimFilenamePropertyIoType_OUTPUT, and theIoType.
| const ossimFilenameProperty & ossimFilenameProperty::operator= | ( | ossimFilenameProperty & | rhs | ) |
Definition at line 52 of file ossimFilenameProperty.cpp.
References assign().
| void ossimFilenameProperty::setFilter | ( | ossim_uint32 | idx, |
| const ossimString & | filterValue | ||
| ) |
Definition at line 84 of file ossimFilenameProperty.cpp.
References getNumberOfFilters(), and theFilterList.
| void ossimFilenameProperty::setIoType | ( | ossimFilenamePropertyIoType | ioType | ) |
Definition at line 134 of file ossimFilenameProperty.cpp.
References theIoType.
Referenced by ossimHistogramMatchFilter::getProperty(), ossimWatermarkFilter::getProperty(), ossimMetadataFileWriter::getProperty(), ossimImageFileWriter::getProperty(), and ossimImageHandler::getProperty().
|
virtual |
Implements ossimProperty.
Definition at line 45 of file ossimFilenameProperty.cpp.
References theValue.
|
virtual |
Implements ossimProperty.
Definition at line 40 of file ossimFilenameProperty.cpp.
References theValue.
|
protected |
Definition at line 55 of file ossimFilenameProperty.h.
Referenced by addFilter(), assign(), clearFilterList(), getFilter(), getFilterList(), getNumberOfFilters(), and setFilter().
|
protected |
Definition at line 56 of file ossimFilenameProperty.h.
Referenced by assign(), getIoType(), isIoTypeInput(), isIoTypeOutput(), and setIoType().
|
protected |
Definition at line 54 of file ossimFilenameProperty.h.
Referenced by assign(), setValue(), and valueToString().
1.8.14