DataDirector API
RSOMetaDataSchemaPublisher.h
1 #ifndef _RSOMetaDataSchemaPublisher_h
2 #define _RSOMetaDataSchemaPublisher_h
3 
4 #include <string>
5 #include "dynamic_ptr_array.h"
6 
7 namespace disti
8 {
9 
11 {
12 protected:
13  class Property
14  {
15  public:
16  std::string _name;
17  bool _supportsAttributeChanged;
18 
19  Property(const char *name,bool supportsAttributeChanged)
20  {
21  _name = name;
22  _supportsAttributeChanged = supportsAttributeChanged;
23  }
24 
25  };
26 
27  DynamicPtrArray<Property *> _properties;
28  std::string _xmlString;
29 
30 public:
33 
34  const char *ToString();
35 
36  void PublishProperty(const char *name,bool supportsAttributeChanged);
37 };
38 
39 } // end of namespace disti
40 
41 #endif
42 
A templated array of object pointers. The array dynamically resizes as needed.
Definition: dynamic_ptr_array.h:55
Definition: RSOMetaDataSchemaPublisher.h:10
Definition: RSOMetaDataSchemaPublisher.h:13
The disti::DynamicPtrArray class. A templated array of objects pointers capable of dynamically growin...
Definition: AttributeChangedEmitter.h:46