geom/src/NMTDS/NMTDS_PassKeyBoolean.cxx

63 lines
2.1 KiB
C++
Raw Normal View History

2007-02-07 16:56:53 +05:00
// Copyright (C) 2006 SAMTECH
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File: NMTDS_PassKeyBoolean.cxx
// Created: Mon May 15 14:31:05 2006
// Author: Peter KURNEV
// <pkv@irinox>
#include <NMTDS_PassKeyBoolean.ixx>
//=======================================================================
//function : NMTDS_PassKeyBoolean
//purpose :
//=======================================================================
NMTDS_PassKeyBoolean::NMTDS_PassKeyBoolean()
:
myFlag(Standard_False),
NMTDS_PassKey()
{
}
//=======================================================================
//function :Assign
//purpose :
//=======================================================================
NMTDS_PassKeyBoolean& NMTDS_PassKeyBoolean::Assign(const NMTDS_PassKeyBoolean& anOther)
{
myFlag=anOther.myFlag;
NMTDS_PassKey::Assign(anOther);
return *this;
}
//=======================================================================
//function :SetFlag
//purpose :
//=======================================================================
void NMTDS_PassKeyBoolean::SetFlag(const Standard_Boolean aFlag)
{
myFlag=aFlag;
}
//=======================================================================
//function :Flag
//purpose :
//=======================================================================
Standard_Boolean NMTDS_PassKeyBoolean::Flag()const
{
return myFlag;
}