2

In ADTF2 it was possible to create nested properties by concatenating the names with "::". So property names "Foo::Property1" and "Foo::Property2" would create following structure:

Foo
   Property1
   Property2

Is something like this also possible in ADTF3?

krase
  • 1,006
  • 7
  • 18

1 Answers1

1

Yes, you can group properties in ADTF 3.x by seperate them with slashes, for example:

adtf::base::property_variable<tBool> m_bPropOne = tFalse;    
adtf::base::property_variable<tBool> m_bPropTwo = tFalse;

cMyADTF3Filter::cMyADTF3Filter()
{
    // ...

    RegisterPropertyVariable("Foo/Property1", m_bPropOne);
    RegisterPropertyVariable("Foo/Property2", m_bPropTwo);

    // ...
}
C-3PFLO
  • 311
  • 2
  • 4