1 #ifndef GfxTL__CELLPARENTTREESTRATEGY_HEADER__
2 #define GfxTL__CELLPARENTTREESTRATEGY_HEADER__
7 template<
class InheritedStrategyT >
10 typedef typename InheritedStrategyT::value_type
value_type;
12 template<
class BaseT >
16 :
public InheritedStrategyT::CellData
19 template<
class BaseT >
21 typedef typename InheritedStrategyT::CellData
BaseType;
27 template<
class BaseT >
29 :
public InheritedStrategyT::template
StrategyBase< BaseT >
37 return (
const CellType *
const)
c.m_parent;
47 :
public BaseType::BuildInformation
62 template<
class BuildInformationT >
65 BaseType::InitRootBuildInformation(bi);
69 template<
class BuildInformationT >
71 const BuildInformationT& parentInfo,
unsigned int childIdx,
72 BuildInformationT* bi)
74 BaseType::InitBuildInformation(parent, parentInfo, childIdx, bi);
75 bi->Parent(
const_cast< CellType*
>(&parent));
78 template<
class BuildInformationT >
80 const BuildInformationT& parentInfo,
unsigned int childIdx,
81 const BuildInformationT& bi,
CellType* cell)
83 BaseType::InitCell(parent, parentInfo, childIdx, bi, cell);
84 cell->m_parent = bi.Parent();