OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TargetMetaInfo Class Reference

#include <TargetMetaInfo.h>

+ Collaboration diagram for TargetMetaInfo:

Public Member Functions

 TargetMetaInfo (const std::string &resname, const SQLTypeInfo &ti)
 
 TargetMetaInfo (const std::string &resname, const SQLTypeInfo &ti, const SQLTypeInfo &physical_ti)
 
const std::string & get_resname () const
 
const SQLTypeInfoget_type_info () const
 
const SQLTypeInfoget_physical_type_info () const
 
std::string toString () const
 

Private Attributes

std::string resname_
 
SQLTypeInfo ti_
 
SQLTypeInfo physical_ti_
 

Detailed Description

Definition at line 28 of file TargetMetaInfo.h.

Constructor & Destructor Documentation

TargetMetaInfo::TargetMetaInfo ( const std::string &  resname,
const SQLTypeInfo ti 
)
inline

Definition at line 30 of file TargetMetaInfo.h.

31  : resname_(resname), ti_(ti), physical_ti_(ti) {}
SQLTypeInfo physical_ti_
std::string resname_
SQLTypeInfo ti_
TargetMetaInfo::TargetMetaInfo ( const std::string &  resname,
const SQLTypeInfo ti,
const SQLTypeInfo physical_ti 
)
inline

Definition at line 32 of file TargetMetaInfo.h.

35  : resname_(resname), ti_(ti), physical_ti_(physical_ti) {}
SQLTypeInfo physical_ti_
std::string resname_
SQLTypeInfo ti_

Member Function Documentation

const SQLTypeInfo& TargetMetaInfo::get_physical_type_info ( ) const
inline

Definition at line 38 of file TargetMetaInfo.h.

References physical_ti_.

Referenced by NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::create(), operator<<(), and boost::serialization::save_construct_data().

38 { return physical_ti_; }
SQLTypeInfo physical_ti_

+ Here is the caller graph for this function:

const std::string& TargetMetaInfo::get_resname ( ) const
inline

Definition at line 36 of file TargetMetaInfo.h.

References resname_.

Referenced by operator<<(), boost::serialization::save_construct_data(), and ThriftSerializers::target_meta_info_to_thrift().

36 { return resname_; }
std::string resname_

+ Here is the caller graph for this function:

const SQLTypeInfo& TargetMetaInfo::get_type_info ( ) const
inline

Definition at line 37 of file TargetMetaInfo.h.

References ti_.

Referenced by DictionaryConverterFactory< TARGET_TYPE >::create(), anonymous_namespace{RelAlgExecutor.cpp}::is_none_encoded_text(), isGeometry(), TextConverterFactory::operator()(), operator<<(), boost::serialization::save_construct_data(), and ThriftSerializers::target_meta_info_to_thrift().

37 { return ti_; }
SQLTypeInfo ti_

+ Here is the caller graph for this function:

std::string TargetMetaInfo::toString ( ) const
inline

Definition at line 40 of file TargetMetaInfo.h.

References physical_ti_, resname_, ti_, and SQLTypeInfo::to_string().

40  {
41  return "TargetMetaInfo(" + resname_ + ", " + ti_.to_string() + ", " +
42  physical_ti_.to_string() + ") ";
43  }
SQLTypeInfo physical_ti_
std::string resname_
std::string to_string() const
Definition: sqltypes.h:526
SQLTypeInfo ti_

+ Here is the call graph for this function:

Member Data Documentation

SQLTypeInfo TargetMetaInfo::physical_ti_
private

Definition at line 48 of file TargetMetaInfo.h.

Referenced by get_physical_type_info(), and toString().

std::string TargetMetaInfo::resname_
private

Definition at line 46 of file TargetMetaInfo.h.

Referenced by get_resname(), and toString().

SQLTypeInfo TargetMetaInfo::ti_
private

Definition at line 47 of file TargetMetaInfo.h.

Referenced by get_type_info(), and toString().


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