// Created on: 1999-06-25 // Created by: Sergey RUIN // Copyright (c) 1999 Matra Datavision // Copyright (c) 1999-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 License 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. #ifndef _TDataStd_Directory_HeaderFile #define _TDataStd_Directory_HeaderFile #include "Standard.hxx" #include "Standard_Type.hxx" #include "TDataStd_GenericEmpty.hxx" #include "Standard_Boolean.hxx" #include "Standard_OStream.hxx" class TDF_Label; class Standard_GUID; class TDataStd_Directory; DEFINE_STANDARD_HANDLE(TDataStd_Directory, TDataStd_GenericEmpty) //! Associates a directory in the data framework with //! a TDataStd_TagSource attribute. //! You can create a new directory label and add //! sub-directory or object labels to it, class TDataStd_Directory : public TDataStd_GenericEmpty { public: //! class methods //! ============= //! Searches for a directory attribute on the label //! current, or on one of the father labels of current. //! If a directory attribute is found, true is returned, //! and the attribute found is set as D. Standard_EXPORT static Standard_Boolean Find(const TDF_Label& current, Handle(TDataStd_Directory)& D); //! Creates an empty Directory attribute, located at //!