// GroupingP.C: Grouping nodes (private source).
// Automatically generated with nodegen 0.5a - do not edit.

#include "Grouping.H"
#include "xrmlP.H"

namespace xrml {
int Grouping::major_version(void) { return 0; }
int Grouping::minor_version(void) { return 5; }
bool Grouping::is_leaf_class(void) { return false; }

bool IsGrouping(SFNode* node)
{
  return (dynamic_cast<Grouping*>(node) != 0);
}

void Grouping::synchronize_children(void)
{
  if (_children.size > children.size) children.grow(_children.size - children.size);
  for (int i=children.size=0; i<_children.size; i++)
    children.append(dynamic_cast<Children*>(_children[i]->firstnode()));
}

bool Grouping::assign_children(const MFNode& value)
{
  stub("Grouping::assign_children");
  return false;
}

bool Grouping::children_is_updated(void){
  stub("Grouping::children_is_updated");
  return true;
}

void Grouping::children_clear_update(void){
  stub("Grouping::children_clear_update");
}

void Grouping::set_children(const MFNode& val)
{
  stub("Grouping::set_children");
}

bool Grouping::assign_bboxCenter(const SFVec3f& value)
{
  stub("Grouping::assign_bboxCenter");
  return false;
}

bool Grouping::bboxCenter_is_updated(void){
  stub("Grouping::bboxCenter_is_updated");
  return true;
}

void Grouping::bboxCenter_clear_update(void){
  stub("Grouping::bboxCenter_clear_update");
}

bool Grouping::assign_bboxSize(const SFVec3f& value)
{
  stub("Grouping::assign_bboxSize");
  return false;
}

bool Grouping::bboxSize_is_updated(void){
  stub("Grouping::bboxSize_is_updated");
  return true;
}

void Grouping::bboxSize_clear_update(void){
  stub("Grouping::bboxSize_clear_update");
}

Grouping::Grouping()
{
  typeId = "Grouping";
  children = array<Children*>(0); 	_children = MFNode(0);
  bboxCenter = SFVec3f(0,0,0);
  bboxSize = SFVec3f(-1,-1,-1);
}

}  // namespace xrml
