owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
Namespaces | Macros | Functions
ns_iri_tags.hpp File Reference
#include "owlcpp/terms/ns_iri_tag_gen_macro.hpp"
#include "boost/preprocessor/seq/size.hpp"

Go to the source code of this file.

Namespaces

namespace  owlcpp
 Main namespace of owlcpp library.
namespace  owlcpp::terms
 Definitions of standard OWL namespaces and terms.

Macros

#define OWLCPP_NAMESPACE_IRI_LIST
 Define namespace IRIs standard in OWL.
#define OWLCPP_NAMESPACE_TAGS_TOTAL   BOOST_PP_SEQ_SIZE(OWLCPP_NAMESPACE_IRI_LIST)

Functions

bool owlcpp::is_empty (const Ns_id id)
bool owlcpp::is_blank (const Ns_id id)
bool owlcpp::is_iri (const Ns_id id)

Detailed Description

part of owlcpp project.

Distributed under the Boost Software License, Version 1.0; see doc/license.txt.
Copyright Mikhail K Levin 2012-3

Macro Definition Documentation

#define OWLCPP_NAMESPACE_IRI_LIST
Value:
((empty)("")("")) \
((blank)("_")("_")) \
((rdf)("rdf")("http://www.w3.org/1999/02/22-rdf-syntax-ns")) \
((rdfs)("rdfs")("http://www.w3.org/2000/01/rdf-schema")) \
((xsd)("xsd")("http://www.w3.org/2001/XMLSchema")) \
((owl)("owl")("http://www.w3.org/2002/07/owl")) \
/* */

Define namespace IRIs standard in OWL.

This macro is used for generating types and typelists. ((class name)("prefix")("IRI"))