OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimDateProperty.h>
Public Member Functions | |
ossimDateProperty () | |
ossimDateProperty (const ossimString &name, const ossimString &value) | |
ossimDateProperty (const ossimString &name, const ossimLocalTm &value) | |
ossimDateProperty (const ossimDateProperty &src) | |
virtual ossimObject * | dup () const |
void | setDate (const ossimLocalTm &localTm) |
const ossimLocalTm & | getDate () const |
virtual bool | setValue (const ossimString &value) |
virtual void | valueToString (ossimString &valueResult) const |
virtual const ossimProperty & | assign (const ossimProperty &rhs) |
![]() | |
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 | |
ossimLocalTm | 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 14 of file ossimDateProperty.h.
ossimDateProperty::ossimDateProperty | ( | ) |
Definition at line 20 of file ossimDateProperty.cpp.
References setDate().
Referenced by dup().
ossimDateProperty::ossimDateProperty | ( | const ossimString & | name, |
const ossimString & | value | ||
) |
Definition at line 26 of file ossimDateProperty.cpp.
References setValue().
ossimDateProperty::ossimDateProperty | ( | const ossimString & | name, |
const ossimLocalTm & | value | ||
) |
Definition at line 33 of file ossimDateProperty.cpp.
ossimDateProperty::ossimDateProperty | ( | const ossimDateProperty & | src | ) |
Definition at line 40 of file ossimDateProperty.cpp.
|
virtual |
Reimplemented from ossimProperty.
Definition at line 130 of file ossimDateProperty.cpp.
References ossimProperty::assign(), setValue(), theValue, and ossimProperty::valueToString().
|
virtual |
Reimplemented from ossimObject.
Definition at line 46 of file ossimDateProperty.cpp.
References ossimDateProperty().
const ossimLocalTm & ossimDateProperty::getDate | ( | ) | const |
void ossimDateProperty::setDate | ( | const ossimLocalTm & | localTm | ) |
Definition at line 51 of file ossimDateProperty.cpp.
References theValue.
Referenced by ossimDateProperty().
|
virtual |
Implements ossimProperty.
Definition at line 61 of file ossimDateProperty.cpp.
References ossimString::begin(), min, ossimLocalTm::setDay(), ossimLocalTm::setHour(), ossimLocalTm::setMin(), ossimLocalTm::setMonth(), ossimLocalTm::setSec(), ossimLocalTm::setYear(), ossimString::size(), theValue, ossimString::toUInt32(), and ossimString::trim().
Referenced by assign(), and ossimDateProperty().
|
virtual |
Implements ossimProperty.
Definition at line 103 of file ossimDateProperty.cpp.
References ossimLocalTm::getDay(), ossimLocalTm::getHour(), ossimLocalTm::getMin(), ossimLocalTm::getMonth(), ossimLocalTm::getSec(), ossimLocalTm::getYear(), and theValue.
|
protected |
Definition at line 32 of file ossimDateProperty.h.
Referenced by assign(), getDate(), setDate(), setValue(), and valueToString().