MADARA  3.2.3
KnowledgeRecord.h File Reference
#include <string>
#include <vector>
#include <map>
#include <memory>
#include <type_traits>
#include "madara/MadaraExport.h"
#include "madara/utility/StdInt.h"
#include "madara/utility/Refcounter.h"
#include "madara/logger/GlobalLogger.h"
#include "madara/utility/IntTypes.h"
#include "KnowledgeRecord.inl"
#include "KnowledgeCast.h"

Go to the source code of this file.

Classes

struct  madara::knowledge::tags::binary_t
 
struct  madara::knowledge::tags::doubles_t
 
struct  madara::knowledge::tags::integers_t
 
class  madara::knowledge::KnowledgeRecord
 This class encapsulates an entry in a KnowledgeBase. More...
 
struct  madara::knowledge::tags::shared_t< T >
 
struct  madara::knowledge::tags::string_t
 

Namespaces

 madara
 Copyright (c) 2015 Carnegie Mellon University.
 
 madara::knowledge
 Provides functions and classes for the distributed knowledge base.
 
 madara::knowledge::tags
 Tags to specify what type to construct in KnowledgeRecord forwarding constructors.
 

Typedefs

typedef std::string madara::knowledge::KnowledgeKey
 
typedef ::std::map< std::string, KnowledgeRecordmadara::knowledge::KnowledgeMap
 
typedef ::std::map< std::string, KnowledgeRecord * > madara::knowledge::KnowledgeRecords
 
typedef ::std::vector< std::string > madara::knowledge::KnowledgeRules
 
typedef KnowledgeRecord madara::knowledge::KnowledgeValue
 
typedef ::std::vector< KnowledgeRecordmadara::knowledge::KnowledgeVector
 
typedef ::std::vector< std::string > madara::knowledge::StringVector
 

Functions

uint32_t madara::knowledge::max_quality (const KnowledgeRecords &records)
 Returns the maximum quality within the records. More...
 
template<typename T >
shared_t< T > madara::knowledge::tags::shared (T)
 Used to signal in-place shared_ptr construction in KnowledgeRecord Example: tags::shared(tags::integers) More...
 

Variables

static struct madara::knowledge::tags::binary_t madara::knowledge::tags::binary
 
static struct madara::knowledge::tags::doubles_t madara::knowledge::tags::doubles
 
static struct madara::knowledge::tags::integers_t madara::knowledge::tags::integers
 
static struct madara::knowledge::tags::string_t madara::knowledge::tags::string
 

Detailed Description

Author
James Edmondson jedmo.nosp@m.ndso.nosp@m.n@gma.nosp@m.il.c.nosp@m.om

This file contains the KnowledgeRecord class, helper typdefs and functions

Definition in file KnowledgeRecord.h.