HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PackedFolders::EditOperations Class Reference

Accumulate edit operations in a block. More...

#include <GU_PackedFolders.h>

Public Member Functions

void insert (const UT_StringRef &path, const GU_ConstDetailHandle &d, bool pack=true, bool is_folder=false, bool is_visible=true)
 Insert a detail at the given path. More...
 
void remove (const UT_StringRef &path)
 Remove a path. More...
 
void remove (const FileInfo *fi)
 Remove a FileInfo. More...
 
void move (const FileInfo *fi, const UT_StringRef &new_path, bool pack)
 Move a FileInfo to a new path. Does an insert and remove. More...
 

Public Attributes

UT_Array< EditInfomyOps
 

Detailed Description

Accumulate edit operations in a block.

Definition at line 495 of file GU_PackedFolders.h.

Member Function Documentation

void GU_PackedFolders::EditOperations::insert ( const UT_StringRef path,
const GU_ConstDetailHandle d,
bool  pack = true,
bool  is_folder = false,
bool  is_visible = true 
)
inline

Insert a detail at the given path.

Definition at line 499 of file GU_PackedFolders.h.

void GU_PackedFolders::EditOperations::move ( const FileInfo fi,
const UT_StringRef new_path,
bool  pack 
)
inline

Move a FileInfo to a new path. Does an insert and remove.

Definition at line 535 of file GU_PackedFolders.h.

void GU_PackedFolders::EditOperations::remove ( const UT_StringRef path)
inline

Remove a path.

Definition at line 517 of file GU_PackedFolders.h.

void GU_PackedFolders::EditOperations::remove ( const FileInfo fi)
inline

Remove a FileInfo.

Definition at line 526 of file GU_PackedFolders.h.

Member Data Documentation

UT_Array<EditInfo> GU_PackedFolders::EditOperations::myOps

Definition at line 552 of file GU_PackedFolders.h.


The documentation for this class was generated from the following file: