34 namespace RestFrames {
41 const std::string& stitle)
44 T::m_Type = kInvisibleFrame;
51 bool InvisibleFrame<T>::IsSoundBody()
const {
52 if(RFBase::IsSoundBody())
54 if(!RestFrame::IsSoundBody())
55 return T::SetBody(
false);
57 int Nchild = T::GetNChildren();
58 if(Nchild > 0 || T::GetParentFrame().IsEmpty()){
59 T::m_Log << LogWarning <<
"Problem with parent or child frames" << LogEnd;
60 return T::SetBody(
false);
62 return T::SetBody(
true);
65 template class InvisibleFrame<ReconstructionFrame>;
66 template class InvisibleFrame<GeneratorFrame>;