DART 6.13.2
Loading...
Searching...
No Matches
Castable.hpp File Reference
#include <string>
#include "dart/common/detail/Castable-impl.hpp"

Go to the source code of this file.

Classes

class  dart::common::Castable< Base >
 A CRTP base class that provides an interface for easily casting to the derived types. More...
 

Namespaces

namespace  dart
 
namespace  dart::common
 

Macros

#define DART_STRING_TYPE(type_name)
 

Macro Definition Documentation

◆ DART_STRING_TYPE

#define DART_STRING_TYPE (   type_name)
Value:
\
[[nodiscard]] static const std::string& getStaticType() \
{ \
static const std::string type = #type_name; \
return type; \
} \
\
[[nodiscard]] const std::string& getType() const override \
{ \
return getStaticType(); \
} \
void _ANONYMOUS_FUNCTION_1()
std::string type
Definition SdfParser.cpp:82