knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
knowrob::mongo::IndexKey Struct Reference

#include <Index.h>

Public Member Functions

 IndexKey (const char *key, IndexType type=IndexType::ASCENDING)
 
 IndexKey (const char *key, IndexType type=IndexType::ASCENDING)
 

Public Attributes

const std::string value
 
const IndexType type
 

Detailed Description

Configures an index key.

Definition at line 21 of file Index.h.

Constructor & Destructor Documentation

◆ IndexKey() [1/2]

knowrob::mongo::IndexKey::IndexKey ( const char *  key,
IndexType  type = IndexType::ASCENDING 
)
inlineexplicit

Definition at line 22 of file Index.h.

23  : value(key), type(type) {};
const std::string value
Definition: Index.h:23
const IndexType type
Definition: Index.h:25

◆ IndexKey() [2/2]

knowrob::mongo::IndexKey::IndexKey ( const char *  key,
IndexType  type = IndexType::ASCENDING 
)
inlineexplicit

Definition at line 22 of file Index.h.

23  : value(key), type(type) {};

Member Data Documentation

◆ type

const IndexType knowrob::mongo::IndexKey::type

Definition at line 25 of file Index.h.

◆ value

const std::string knowrob::mongo::IndexKey::value

Definition at line 24 of file Index.h.


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