void NilpotentGroupRep::read( istream& istr )
{
  /* NilpotentGroupRep *This = (NilpotentGroupRep *)this;

  This->FGGroupRep::read(istr);
  */
  FGGroupRep::read(istr);
  Type savedType = Type::notype();
  istr >> savedType;
  if(savedType != actualType())
    error("NilpotentGroupRep: wrong Rep type transferred via IPC");
}
void NilpotentGroupRep::write( ostream& ostr ) const
{
  FGGroupRep::write(ostr);
  ostr << actualType() << ' ';
}
Example #3
0
Types AssignedVariable::allowedTypes(int _index) const
{
	if (_index == AssignedValue)
		return actualType();
	return Super::allowedTypes(_index);
}