knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
RedlandModel.cpp File Reference
#include "knowrob/knowrob.h"
#include "knowrob/storage/redland/RedlandModel.h"
#include "knowrob/storage/StorageError.h"
#include "knowrob/storage/StorageManager.h"
#include "knowrob/semweb/OntologyParser.h"
#include "knowrob/semweb/xsd.h"
#include "knowrob/formulas/Bottom.h"
#include "knowrob/terms/IRIAtom.h"
#include "knowrob/terms/Numeric.h"
#include "knowrob/terms/String.h"
#include "knowrob/terms/Blank.h"
#include "knowrob/queries/AnswerYes.h"
Include dependency graph for RedlandModel.cpp:

Go to the source code of this file.

Macros

#define REDLAND_SETTING_HOST   "host"
 
#define REDLAND_SETTING_PORT   "port"
 
#define REDLAND_SETTING_USER   "user"
 
#define REDLAND_SETTING_PASSWORD   "password"
 
#define REDLAND_SETTING_DB   "db"
 
#define REDLAND_SETTING_STORAGE   "storage"
 
#define REDLAND_SETTING_ORIGIN   "origin"
 
#define KNOWROB_RDF_NEW_URI(val)    librdf_new_node_from_uri_string(world_, (const unsigned char*)(val).data())
 
#define KNOWROB_RDF_NEW_BLANK(val)    librdf_new_node_from_blank_identifier(world_, (const unsigned char*)(val).data())
 
#define KNOWROB_RDF_NEW_LITERAL(val, xsdType)    librdf_new_node_from_typed_literal(world_, (const unsigned char*)(val), nullptr, xsdType())
 
#define REDLAND_REQUIRE_UNINITIALIZED(name, field, val)
 

Macro Definition Documentation

◆ KNOWROB_RDF_NEW_BLANK

#define KNOWROB_RDF_NEW_BLANK (   val)     librdf_new_node_from_blank_identifier(world_, (const unsigned char*)(val).data())

Definition at line 31 of file RedlandModel.cpp.

◆ KNOWROB_RDF_NEW_LITERAL

#define KNOWROB_RDF_NEW_LITERAL (   val,
  xsdType 
)     librdf_new_node_from_typed_literal(world_, (const unsigned char*)(val), nullptr, xsdType())

Definition at line 33 of file RedlandModel.cpp.

◆ KNOWROB_RDF_NEW_URI

#define KNOWROB_RDF_NEW_URI (   val)     librdf_new_node_from_uri_string(world_, (const unsigned char*)(val).data())

Definition at line 29 of file RedlandModel.cpp.

◆ REDLAND_REQUIRE_UNINITIALIZED

#define REDLAND_REQUIRE_UNINITIALIZED (   name,
  field,
  val 
)
Value:
do {\
if(isInitialized()) { KB_WARN("attempted to change property {} after initialization.", name); } \
else { (field) = val; } } while(0)
#define KB_WARN
Definition: Logger.h:27

Definition at line 126 of file RedlandModel.cpp.

◆ REDLAND_SETTING_DB

#define REDLAND_SETTING_DB   "db"

Definition at line 23 of file RedlandModel.cpp.

◆ REDLAND_SETTING_HOST

#define REDLAND_SETTING_HOST   "host"

Definition at line 19 of file RedlandModel.cpp.

◆ REDLAND_SETTING_ORIGIN

#define REDLAND_SETTING_ORIGIN   "origin"

Definition at line 25 of file RedlandModel.cpp.

◆ REDLAND_SETTING_PASSWORD

#define REDLAND_SETTING_PASSWORD   "password"

Definition at line 22 of file RedlandModel.cpp.

◆ REDLAND_SETTING_PORT

#define REDLAND_SETTING_PORT   "port"

Definition at line 20 of file RedlandModel.cpp.

◆ REDLAND_SETTING_STORAGE

#define REDLAND_SETTING_STORAGE   "storage"

Definition at line 24 of file RedlandModel.cpp.

◆ REDLAND_SETTING_USER

#define REDLAND_SETTING_USER   "user"

Definition at line 21 of file RedlandModel.cpp.