mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
The copying permission statements at the beginning of source files updated to refer to LGPL. Copyright dates extended till 2014 in advance.
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
// Created on: 2007-12-05
|
|
// Created by: Sergey ZARITCHNY
|
|
// Copyright (c) 2007-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and / or modify it
|
|
// under the terms of the GNU Lesser General Public version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#include <TColStd_HArray1OfByte.hxx>
|
|
|
|
//=======================================================================
|
|
//function : Array
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline const Handle(TColStd_HArray1OfByte) TDataStd_ByteArray::InternalArray(void) const
|
|
{
|
|
return myValue;
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : RemoveArray
|
|
//purpose :
|
|
//=======================================================================
|
|
inline void TDataStd_ByteArray::RemoveArray(void)
|
|
{
|
|
myValue.Nullify();
|
|
}
|
|
|
|
|
|
//=======================================================================
|
|
//function : SetDelta
|
|
//purpose :
|
|
//=======================================================================
|
|
inline void TDataStd_ByteArray::SetDelta(const Standard_Boolean isDelta)
|
|
{
|
|
myIsDelta = isDelta;
|
|
}
|
|
//=======================================================================
|
|
//function : GetDelta
|
|
//purpose :
|
|
//=======================================================================
|
|
inline Standard_Boolean TDataStd_ByteArray::GetDelta(void) const
|
|
{
|
|
return myIsDelta;
|
|
}
|