|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Mixture interface for when we a reference-counted DDS container. More...
#include <DDSAccessInterface.h>


Public Member Functions | |
| virtual const libdap::DDS * | getDDS () const =0 |
| Accessor for a contained DDS. More... | |
| virtual int | getRefCount () const =0 |
| Get the current reference count. More... | |
| virtual int | ref () const =0 |
| Increase the reference count by one. More... | |
| virtual void | removeFromPool () const =0 |
| If the object is in an auto-delete pool, remove it from the pool and force it to only delete when it's ref count goes to 0. More... | |
| virtual std::string | toString () const =0 |
| virtual int | unref () const =0 throw () |
| Decrease the reference count by one. More... | |
| virtual | ~DDSAccessRCInterface ()=0 |
Mixture interface for when we a reference-counted DDS container.
Definition at line 65 of file DDSAccessInterface.h.
|
pure virtual |
Definition at line 38 of file DDSAccessInterface.cc.
|
pure virtualinherited |
Accessor for a contained DDS.
The returned object is to be considered an alias, and should NOT be deleted or stored outside the lifetime of this! If the object doesn't have a valid DDS currently, NULL is returned.
Implemented in ncml_module::NetcdfElement.
Referenced by agg_util::AggMemberDatasetDDSWrapper::getDataDDS(), and agg_util::AggMemberDatasetSharedDDSWrapper::getDataDDS().
|
pure virtualinherited |
Get the current reference count.
Implemented in agg_util::RCObject.
|
pure virtualinherited |
Increase the reference count by one.
const since we do not consider the ref count part of the semantic constness of the rep
Implemented in agg_util::RCObject.
Referenced by agg_util::AggMemberDatasetSharedDDSWrapper::AggMemberDatasetSharedDDSWrapper().
|
pure virtualinherited |
If the object is in an auto-delete pool, remove it from the pool and force it to only delete when it's ref count goes to 0.
Useful when we desire a particular object stay around outside of the pool's lifetime.
Implemented in agg_util::RCObject.
|
pure virtualinherited |
Implemented in agg_util::RCObject, ncml_module::NCMLElement, ncml_module::AggregationElement, ncml_module::NetcdfElement, ncml_module::VariableElement, ncml_module::DimensionElement, ncml_module::ScanElement, ncml_module::AttributeElement, ncml_module::ValuesElement, ncml_module::VariableAggElement, ncml_module::ExplicitElement, ncml_module::ReadMetadataElement, and ncml_module::RemoveElement.
|
pure virtualinherited | |||||||||||||
Decrease the reference count by one.
If it goes from 1 to 0, delete this and this is no longer valid.
It is illegal to unref() an object with a count of 0. We don't throw to allow use in dtors, so the caller is to not do it!
const since the reference count is not part of the semantic constness of the rep
Implemented in agg_util::RCObject.