Implementation. More...
#include <osvr/Common/PathElementTools.h>#include <osvr/Common/PathElementTypes.h>#include <boost/variant/static_visitor.hpp>#include <boost/variant/apply_visitor.hpp>#include <boost/variant/get.hpp>#include <boost/mpl/for_each.hpp>#include <algorithm>#include <string.h>Go to the source code of this file.
Namespaces | |
| osvr | |
| < | |
| osvr::common | |
| Handles spatial transformations. | |
| osvr::common::elements | |
| Namespace for the various element types that may constitute a node in the path tree. | |
Macros | |
| #define | OSVR_ROUTING_TYPENAME_HANDLER(CLASS) |
| Macro defining a specialization of ElementTypeName to return the type name as a string literal. More... | |
Functions | |
| const char * | osvr::common::elements::getTypeName (PathElement const &elt) |
| Gets a string that indicates the type of path element. Do not use this for conditionals/comparisons unless there's really no better way! (There probably is a better way with a variant static_visitor) More... | |
| void | osvr::common::elements::ifNullReplaceWith (PathElement &dest, PathElement const &src) |
| If dest is a NullElement, replace it with the provided src element. More... | |
| bool | osvr::common::elements::isNull (PathElement const &elt) |
| Returns true if the path element provided is a NullElement. | |
| size_t | osvr::common::elements::getMaxTypeNameLength () |
| Gets the length of the longest type name. | |
| #define OSVR_ROUTING_TYPENAME_HANDLER | ( | CLASS | ) |
Macro defining a specialization of ElementTypeName to return the type name as a string literal.
Definition at line 50 of file PathElementTools.cpp.