owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
Classes | Namespaces | Macros | Functions
std_nodes_custom_run.cpp File Reference
#include "boost/test/unit_test.hpp"
#include "boost/mpl/for_each.hpp"
#include "boost/preprocessor/repetition/repeat_from_to.hpp"
#include "test/exception_fixture.hpp"
#include "owlcpp/rdf/map_std.hpp"
#include "owlcpp/terms/node_tags_system.hpp"
#include "owlcpp/terms/node_tags_owl.hpp"
#include "owlcpp/terms/node_iri_tag_macro.hpp"
#include "iri_tag_vector.hpp"
#include "node_tag_vector_system.hpp"
#include "node_tag_vector_owl.hpp"

Classes

struct  owlcpp::test::Custom_nodes

Namespaces

namespace  owlcpp
 Main namespace of owlcpp library.
namespace  owlcpp::test
 Namespace for unit-tests.

Macros

#define BOOST_TEST_MODULE   std_nodes_custom_run
#define TUPLE(z, n, text)   ((custom)(BOOST_PP_CAT(text, n)))
#define CUSTOM_TERMS_1_N0_   OWLCPP_NODE_TAGS_TOTAL
#define CUSTOM_TERMS_1   BOOST_PP_REPEAT_FROM_TO_1ST(0, 50, TUPLE, term)
#define CUSTOM_TERMS_2_N0_   (OWLCPP_NODE_TAGS_TOTAL + 50)
#define CUSTOM_TERMS_2   BOOST_PP_REPEAT_FROM_TO_1ST(50, 100, TUPLE, term)
#define CUSTOM_TERMS_3_N0_   (OWLCPP_NODE_TAGS_TOTAL + 100)
#define CUSTOM_TERMS_3   BOOST_PP_REPEAT_FROM_TO_1ST(100, 150, TUPLE, term)
#define CUSTOM_TERMS_4_N0_   (OWLCPP_NODE_TAGS_TOTAL + 150)
#define CUSTOM_TERMS_4   BOOST_PP_REPEAT_FROM_TO_1ST(150, 200, TUPLE, term)
#define OWLCPP_MANY_NODE_TAG_TYPE_MACRO_(r, n0, i, e)
#define OWLCPP_GENERATE_MANY_NODE_TAGS(seq, n0)   BOOST_PP_SEQ_FOR_EACH_I(OWLCPP_MANY_NODE_TAG_TYPE_MACRO_, n0, seq)

Functions

 owlcpp::test::OWLCPP_NAMESPACE_TAG_TYPE (custom,"cst","http://custom-ns.net", OWLCPP_NAMESPACE_TAGS_TOTAL)
typedef owlcpp::test::OWLCPP_TERM_MPL_VECTOR (CUSTOM_TERMS_1) mpl_vector_terms_custom1_t
typedef owlcpp::test::OWLCPP_TERM_MPL_VECTOR (CUSTOM_TERMS_2) mpl_vector_terms_custom2_t
typedef owlcpp::test::OWLCPP_TERM_MPL_VECTOR (CUSTOM_TERMS_3) mpl_vector_terms_custom3_t
typedef owlcpp::test::OWLCPP_TERM_MPL_VECTOR (CUSTOM_TERMS_4) mpl_vector_terms_custom4_t
 owlcpp::test::BOOST_GLOBAL_FIXTURE (Exception_fixture)
 owlcpp::test::BOOST_AUTO_TEST_CASE (case01)

Detailed Description

part of owlcpp project.

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

Macro Definition Documentation

#define OWLCPP_MANY_NODE_TAG_TYPE_MACRO_ (   r,
  n0,
  i,
 
)
Value:
BOOST_PP_SEQ_ELEM(0,e), \
BOOST_PP_STRINGIZE(BOOST_PP_SEQ_HEAD(BOOST_PP_SEQ_REVERSE(e))), \
(n0 + i) \
); \
BOOST_PP_EMPTY() \
/* */