MADARA  3.4.1
madara::knowledge::tags Namespace Reference

Tags to specify what type to construct in KnowledgeRecord forwarding constructors. More...

Classes

struct  any
 
struct  shared_t
 

Typedefs

using binary_t = type< std::vector< unsigned char > >
 
using double_t = type< double >
 
using doubles_t = type< std::vector< double > >
 
using integer_t = type< int64_t >
 
using integers_t = type< std::vector< int64_t > >
 
using string_t = type< std::string >
 

Functions

template<typename T >
shared_t< T > shared (T)
 Used to signal in-place shared_ptr construction in KnowledgeRecord Example: tags::shared(tags::integers) More...
 

Variables

constexpr binary_t binary
 
constexpr double_t dbl
 
constexpr doubles_t dbls
 
constexpr double_t double_
 
constexpr doubles_t doubles
 
constexpr integer_t int_
 
constexpr integer_t integer
 
constexpr integers_t integers
 
constexpr integers_t ints
 
constexpr string_t str
 
constexpr string_t string
 

Detailed Description

Tags to specify what type to construct in KnowledgeRecord forwarding constructors.

If you give one of the values defined in this namespace as the first argument to the KnowledgeRecord constructor, the remaining arguments will be forwarded to construct the underlying type in-place.

Typedef Documentation

◆ binary_t

using madara::knowledge::tags::binary_t = typedef type<std::vector<unsigned char> >

Definition at line 58 of file KnowledgeRecord.h.

◆ double_t

using madara::knowledge::tags::double_t = typedef type<double>

Definition at line 46 of file KnowledgeRecord.h.

◆ doubles_t

using madara::knowledge::tags::doubles_t = typedef type<std::vector<double> >

Definition at line 52 of file KnowledgeRecord.h.

◆ integer_t

using madara::knowledge::tags::integer_t = typedef type<int64_t>

Definition at line 43 of file KnowledgeRecord.h.

◆ integers_t

using madara::knowledge::tags::integers_t = typedef type<std::vector<int64_t> >

Definition at line 49 of file KnowledgeRecord.h.

◆ string_t

using madara::knowledge::tags::string_t = typedef type<std::string>

Definition at line 55 of file KnowledgeRecord.h.

Function Documentation

◆ shared()

template<typename T >
shared_t<T> madara::knowledge::tags::shared ( )
inline

Used to signal in-place shared_ptr construction in KnowledgeRecord Example: tags::shared(tags::integers)

Definition at line 76 of file KnowledgeRecord.h.

Variable Documentation

◆ binary

constexpr binary_t madara::knowledge::tags::binary
constexpr

Definition at line 59 of file KnowledgeRecord.h.

◆ dbl

constexpr double_t madara::knowledge::tags::dbl
constexpr

Definition at line 48 of file KnowledgeRecord.h.

◆ dbls

constexpr doubles_t madara::knowledge::tags::dbls
constexpr

Definition at line 54 of file KnowledgeRecord.h.

◆ double_

constexpr double_t madara::knowledge::tags::double_
constexpr

Definition at line 47 of file KnowledgeRecord.h.

◆ doubles

constexpr doubles_t madara::knowledge::tags::doubles
constexpr

Definition at line 53 of file KnowledgeRecord.h.

◆ int_

constexpr integer_t madara::knowledge::tags::int_
constexpr

Definition at line 45 of file KnowledgeRecord.h.

◆ integer

constexpr integer_t madara::knowledge::tags::integer
constexpr

Definition at line 44 of file KnowledgeRecord.h.

◆ integers

constexpr integers_t madara::knowledge::tags::integers
constexpr

Definition at line 50 of file KnowledgeRecord.h.

◆ ints

constexpr integers_t madara::knowledge::tags::ints
constexpr

Definition at line 51 of file KnowledgeRecord.h.

◆ str

constexpr string_t madara::knowledge::tags::str
constexpr

Definition at line 57 of file KnowledgeRecord.h.

◆ string

constexpr string_t madara::knowledge::tags::string
constexpr

Definition at line 56 of file KnowledgeRecord.h.