ModErn Text Analysis
META Enumerates Textual Applications
Public Member Functions | Public Attributes | List of all members
meta::corpus::metadata::field Struct Reference

Tagged union to represent a single metadata field. More...

#include <metadata.h>

Public Member Functions

 field (int64_t sgn)
 
 field (uint64_t usgn)
 
 field (double d)
 
 field (std::string s)
 
 field (field &&other)
 
 field (const field &other)
 
fieldoperator= (field &&other)
 
fieldoperator= (const field &other)
 
 operator int64_t () const
 
 operator uint64_t () const
 
 operator double () const
 
 operator std::string () const
 

Public Attributes

union {
   int64_t   sign_int
 
   uint64_t   usign_int
 
   double   doub
 
   std::string   str
 
}; 
 
field_type type
 

Detailed Description

Tagged union to represent a single metadata field.


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