casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
casa::PageHeaderCache Class Reference

#include <PageHeaderCache.h>

Public Types

using HeaderItem = PageHeaderItemsDef::Item
 

Public Member Functions

 PageHeaderCache ()
 
void store (HeaderItemData data)
 
void clear ()
 
const Stringvalue (HeaderItem header_item) const
 
const std::vector
< HeaderItemData > & 
values () const
 
String toString () const
 

Static Private Member Functions

static const StringemptyString ()
 

Private Attributes

map< HeaderItem, uIntitemIndex_
 
std::vector< HeaderItemDatavalues_
 

Detailed Description

Definition at line 28 of file PageHeaderCache.h.

Member Typedef Documentation

Definition at line 32 of file PageHeaderCache.h.

Constructor & Destructor Documentation

casa::PageHeaderCache::PageHeaderCache ( )
inline

Definition at line 33 of file PageHeaderCache.h.

Member Function Documentation

void casa::PageHeaderCache::clear ( )
static const String& casa::PageHeaderCache::emptyString ( )
inlinestaticprivate

Definition at line 30 of file PageHeaderCache.h.

Referenced by value().

void casa::PageHeaderCache::store ( HeaderItemData  data)
String casa::PageHeaderCache::toString ( ) const
const String& casa::PageHeaderCache::value ( HeaderItem  header_item) const
inline

Definition at line 36 of file PageHeaderCache.h.

References emptyString(), itemIndex_, and values_.

const std::vector<HeaderItemData>& casa::PageHeaderCache::values ( ) const
inline

Definition at line 40 of file PageHeaderCache.h.

References values_.

Member Data Documentation

map<HeaderItem,uInt> casa::PageHeaderCache::itemIndex_
private

Definition at line 44 of file PageHeaderCache.h.

Referenced by value().

std::vector<HeaderItemData> casa::PageHeaderCache::values_
private

Definition at line 45 of file PageHeaderCache.h.

Referenced by value(), and values().


The documentation for this class was generated from the following file: