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

Public Types

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

Public Member Functions

 pivot_cache_record_value_t (const char *cp, size_t cn)
 
 pivot_cache_record_value_t (double v)
 
 pivot_cache_record_value_t (size_t index)
 
bool operator== (const pivot_cache_record_value_t &other) const
 
bool operator!= (const pivot_cache_record_value_t &other) const
 

Public Attributes

value_type type
 
union {
   bool   boolean
 
   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
 
   size_t   shared_item_index
 
value