1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

28
src/Vrml/Vrml_Switch.cxx Executable file
View File

@@ -0,0 +1,28 @@
#include <Vrml_Switch.ixx>
Vrml_Switch::Vrml_Switch(const Standard_Integer aWhichChild)
{
myWhichChild = aWhichChild;
}
void Vrml_Switch::SetWhichChild(const Standard_Integer aWhichChild)
{
myWhichChild = aWhichChild;
}
Standard_Integer Vrml_Switch::WhichChild() const
{
return myWhichChild;
}
Standard_OStream& Vrml_Switch::Print(Standard_OStream& anOStream) const
{
anOStream << "Switch {" << endl;
if ( myWhichChild != -1 )
{
anOStream << " whichChild" << '\t';
anOStream << myWhichChild << endl;
}
anOStream << '}' << endl;
return anOStream;
}