/usr/include/oce/DDF.hxx is in liboce-visualization-dev 0.18.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _DDF_HeaderFile
#define _DDF_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>
#include <Handle_TDF_Data.hxx>
#include <Handle_TDF_Attribute.hxx>
#include <Draw_Interpretor.hxx>
class TDF_Data;
class TDF_Label;
class Standard_GUID;
class TDF_Attribute;
class DDF_Data;
class DDF_Browser;
class DDF_Transaction;
class DDF_TransactionStack;
class DDF_ListNodeOfTransactionStack;
class DDF_ListIteratorOfTransactionStack;
//! Provides facilities to manipulate data framework
//! in a Draw-Commands environment.
class DDF
{
public:
DEFINE_STANDARD_ALLOC
//! Search in draw directory the framewok identified
//! by its name <Name>. returns True if found. In that
//! case <DF> is setted.
Standard_EXPORT static Standard_Boolean GetDF (Standard_CString& Name, Handle(TDF_Data)& DF, const Standard_Boolean Complain = Standard_True) ;
//! Search in <DF> the label identified by its entry
//! <Entry>. returns <True> if found. In that case
//! <Label> is setted.
Standard_EXPORT static Standard_Boolean FindLabel (const Handle(TDF_Data)& DF, const Standard_CString Entry, TDF_Label& Label, const Standard_Boolean Complain = Standard_True) ;
//! Search in <DF> the label identified by its entry
//! <Entry>. if label doesn't exist, create and add
//! the Label in <DF>. In that case return True.
Standard_EXPORT static Standard_Boolean AddLabel (const Handle(TDF_Data)& DF, const Standard_CString Entry, TDF_Label& Label) ;
//! Search in <DF> the attribute identified by its
//! <ID> and its <entry>. returns <True> if found. In
//! that case A is setted.
Standard_EXPORT static Standard_Boolean Find (const Handle(TDF_Data)& DF, const Standard_CString Entry, const Standard_GUID& ID, Handle(TDF_Attribute)& A, const Standard_Boolean Complain = Standard_True) ;
Standard_EXPORT static Draw_Interpretor& ReturnLabel (Draw_Interpretor& theCommands, const TDF_Label& L) ;
Standard_EXPORT static void AllCommands (Draw_Interpretor& theCommands) ;
//! Basic commands.
Standard_EXPORT static void BasicCommands (Draw_Interpretor& theCommands) ;
//! Data framework commands
//! create, clear & copy.
Standard_EXPORT static void DataCommands (Draw_Interpretor& theCommands) ;
//! open commit abort a transaction
//! undo facilities.
Standard_EXPORT static void TransactionCommands (Draw_Interpretor& theCommands) ;
//! Browser commands .
Standard_EXPORT static void BrowserCommands (Draw_Interpretor& theCommands) ;
protected:
private:
friend class DDF_Data;
friend class DDF_Browser;
friend class DDF_Transaction;
friend class DDF_TransactionStack;
friend class DDF_ListNodeOfTransactionStack;
friend class DDF_ListIteratorOfTransactionStack;
};
#endif // _DDF_HeaderFile
|