Orcus
Public Types | Public Member Functions | Public Attributes | List of all members
orcus::spreadsheet::pivot_cache_item_t Struct Reference

Public Types

enum  item_type {
  unknown = 0, boolean, date_time, character,
  numeric, blank, error
}
 

Public Member Functions

 pivot_cache_item_t (const char *cp, size_t cn)
 
 pivot_cache_item_t (double numeric)
 
 pivot_cache_item_t (bool boolean)
 
 pivot_cache_item_t (const date_time_t &date_time)
 
 pivot_cache_item_t (error_value_t error)
 
 pivot_cache_item_t (const pivot_cache_item_t &other)
 
 pivot_cache_item_t (pivot_cache_item_t &&other)
 
bool operator< (const pivot_cache_item_t &other) const
 
bool operator== (const pivot_cache_item_t &other) const
 
pivot_cache_item_toperator= (pivot_cache_item_t other)
 
void swap (pivot_cache_item_t &other)
 

Public Attributes

item_type type
 
union {
   struct {
      const char *   p
 
      size_t   n
 
   }   character
 
   struct {
      int   year
 
      int   month
 
      int   day
 
      int   hour
 
      int   minute
 
      double   second
 
   }   date_time
 
   double   numeric
 
   error_value_t   error
 
   bool   boolean
 
value