Re: [linuxtools-dev] Get parent quark in state system

2014-03-24 Thread Alexandre Montplaisir
Hi Francis, Typically you access attributes by passing either their full path, or their path relative to another quark. So you should technically always know its direct parent, no? ;) If you have a particular use case where you'd want to get the parent from a child, well right now the interface d

Re: [linuxtools-dev] Get parent quark in state system

2014-03-24 Thread Geneviève Bastien
On 14-03-24 06:48 PM, Francis Giraldeau wrote: I would like to know if it is possible to query the get the parent quark of a given quark? Here is an example of usage: ITmfStateSystemBuilder ss; ss.getSubAttributes(quark); // get children, exists ss.getParentAttributes(quark); // get parent, doe

[linuxtools-dev] Get parent quark in state system

2014-03-24 Thread Francis Giraldeau
I would like to know if it is possible to query the get the parent quark of a given quark? Here is an example of usage: ITmfStateSystemBuilder ss; ss.getSubAttributes(quark); // get children, exists ss.getParentAttributes(quark); // get parent, does not exist? Thanks! Francis ___