Nemiver  0.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
nemiver::Hex::Document Class Reference

#include <nmv-hex-document.h>

Inheritance diagram for nemiver::Hex::Document:
nemiver::common::Object

Public Member Functions

virtual ~Document ()
 
::HexDocument * cobj ()
 
void set_data (guint offset, guint len, guint rep_len, const guchar *data, bool undoable=false)
 
guchar * get_data (guint offset, guint len)
 
void delete_data (guint offset, guint len, bool undoable=false)
 
void clear (bool undoable=false)
 
sigc::signal< void, HexChangeData * > & signal_document_changed () const
 
- Public Member Functions inherited from nemiver::common::Object
 Object ()
 
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual ~Object ()
 
void ref ()
 
void unref ()
 
void enable_refcount (bool a_enabled=true)
 
bool is_refcount_enabled () const
 
long get_refcount () const
 
void attach_object (const UString &a_key, const Object *a_object)
 
bool get_attached_object (const UString &a_key, const Object *&a_object)
 

Static Public Member Functions

static DocumentSafePtr create ()
 
static DocumentSafePtr create (const std::string &filename)
 

Protected Member Functions

 Document ()
 
 Document (const std::string &filename)
 

Additional Inherited Members

- Protected Attributes inherited from nemiver::common::Object
SafePtr< ObjectPrivm_priv
 

Constructor & Destructor Documentation

◆ Document() [1/2]

nemiver::Hex::Document::Document ( )
protected

◆ Document() [2/2]

nemiver::Hex::Document::Document ( const std::string &  filename)
protected

◆ ~Document()

virtual nemiver::Hex::Document::~Document ( )
virtual

Member Function Documentation

◆ clear()

void nemiver::Hex::Document::clear ( bool  undoable = false)

◆ cobj()

::HexDocument* nemiver::Hex::Document::cobj ( )

◆ create() [1/2]

static DocumentSafePtr nemiver::Hex::Document::create ( )
static

◆ create() [2/2]

static DocumentSafePtr nemiver::Hex::Document::create ( const std::string &  filename)
static

◆ delete_data()

void nemiver::Hex::Document::delete_data ( guint  offset,
guint  len,
bool  undoable = false 
)

◆ get_data()

guchar* nemiver::Hex::Document::get_data ( guint  offset,
guint  len 
)

◆ set_data()

void nemiver::Hex::Document::set_data ( guint  offset,
guint  len,
guint  rep_len,
const guchar *  data,
bool  undoable = false 
)

◆ signal_document_changed()

sigc::signal<void, HexChangeData*>& nemiver::Hex::Document::signal_document_changed ( ) const

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