OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimBooleanProperty.h>
Public Member Functions | |
ossimBooleanProperty (const ossimString &name=ossimString(""), bool value=false) | |
ossimBooleanProperty (const ossimBooleanProperty &rhs) | |
virtual ossimObject * | dup () const |
virtual const ossimProperty & | assign (const ossimProperty &rhs) |
virtual bool | setValue (const ossimString &value) |
bool | setBooleanValue (bool value, ossimString &msg) |
void | valueToString (ossimString &valueResult) const |
bool | getBoolean () const |
![]() | |
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) |
![]() | |
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 |
![]() | |
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 | |
bool | theValue |
![]() | |
ossimString | theName |
ossimString | theDescription |
bool | theReadOnlyFlag |
ossimPropertyChangeType | theChangeType |
bool | theModifiedFlag |
Additional Inherited Members | |
![]() | |
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) } |
![]() | |
virtual | ~ossimProperty () |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 13 of file ossimBooleanProperty.h.
ossimBooleanProperty::ossimBooleanProperty | ( | const ossimString & | name = ossimString("") , |
bool | value = false |
||
) |
Definition at line 13 of file ossimBooleanProperty.cpp.
Referenced by dup().
ossimBooleanProperty::ossimBooleanProperty | ( | const ossimBooleanProperty & | rhs | ) |
Definition at line 20 of file ossimBooleanProperty.cpp.
|
virtual |
Reimplemented from ossimProperty.
Definition at line 31 of file ossimBooleanProperty.cpp.
References ossimProperty::assign(), and theValue.
|
virtual |
Reimplemented from ossimObject.
Definition at line 26 of file ossimBooleanProperty.cpp.
References ossimBooleanProperty().
bool ossimBooleanProperty::getBoolean | ( | ) | const |
Definition at line 64 of file ossimBooleanProperty.cpp.
References theValue.
Referenced by ossimplugins::ossimSpot6DimapSupportData::parseRasterData(), ossimplugins::ossimPleiadesDimapSupportData::parseRasterData(), ossimConvolutionFilter1D::setProperty(), ossimMapCompositionSource::setProperty(), and ossimNitfTileSource::setProperty().
bool ossimBooleanProperty::setBooleanValue | ( | bool | value, |
ossimString & | msg | ||
) |
Definition at line 51 of file ossimBooleanProperty.cpp.
References theValue.
Referenced by ossimplugins::ossimSpot6DimapSupportData::clearFields(), and ossimplugins::ossimPleiadesDimapSupportData::clearFields().
|
virtual |
Implements ossimProperty.
Definition at line 44 of file ossimBooleanProperty.cpp.
References theValue, and ossimString::toBool().
Referenced by ossimplugins::ossimSpot6DimapSupportData::parseRasterData(), and ossimplugins::ossimPleiadesDimapSupportData::parseRasterData().
|
virtual |
Implements ossimProperty.
Definition at line 59 of file ossimBooleanProperty.cpp.
References theValue.
|
protected |
Definition at line 28 of file ossimBooleanProperty.h.
Referenced by assign(), getBoolean(), setBooleanValue(), setValue(), and valueToString().