bes Updated for version 3.20.13
|
Public Member Functions | |
AttrTableLazyPtr (const NCMLParser &parser, AttrTable *pAT=0) | |
AttrTable * | get () const |
void | invalidate () |
void | set (AttrTable *pAT) |
Definition at line 120 of file NCMLParser.h.
ncml_module::AttrTableLazyPtr::AttrTableLazyPtr | ( | const NCMLParser & | parser, |
AttrTable * | pAT = 0 |
||
) |
Create a lazy loading AttrTable.
parser | the parser whose current dataset should be used to load. |
pAT | Initial value for the ptr. No loading ininitally occurs if pAT isn't null. |
Definition at line 79 of file NCMLParser.cc.
ncml_module::AttrTableLazyPtr::~AttrTableLazyPtr | ( | ) |
Definition at line 84 of file NCMLParser.cc.
AttrTable * ncml_module::AttrTableLazyPtr::get | ( | ) | const |
Get the table, loading it from the current dataset in _parser if !_loaded yet (hasn't been set() ).
Definition at line 91 of file NCMLParser.cc.
void ncml_module::AttrTableLazyPtr::invalidate | ( | ) |
Dirty the cache so the next get() goes and gets the AttrTable for the current dataset, whatever that is.
Definition at line 110 of file NCMLParser.cc.
void ncml_module::AttrTableLazyPtr::set | ( | AttrTable * | pAT | ) |
Once set is called, _loaded it true unless pAT is null.
Definition at line 99 of file NCMLParser.cc.