Cogs.Core
AnnotationComponent.cpp
1#include "AnnotationComponent.h"
2
3#include "Types.h"
4
5using namespace Cogs::Reflection;
6
7namespace Cogs::RationalReducerExtension
8{
9 void AnnotationComponent::registerType()
10 {
11 Field fields[] = {
12 { "annotations", &AnnotationComponent::annotations }
13 };
14
15 Cogs::Core::DynamicComponent::registerDerivedType<AnnotationComponent>().setFields(fields);
16 }
17}
Field definition describing a single data member of a data structure.
Definition: Field.h:68
Contains reflection support.
Definition: Component.h:11