sword::RawCom Class Reference

Inheritance diagram for sword::RawCom:

Inheritance graph
[legend]
Collaboration diagram for sword::RawCom:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RawCom (const char *ipath, const char *iname=0, const char *idesc=0, SWDisplay *idisp=0, char encoding=ENC_UNKNOWN, char dir=DIRECTION_LTR, char markup=FMT_UNKNOWN, const char *ilang=0)
virtual SWBufgetRawEntryBuf ()
 This function is reimplemented by the different kinds of module objects.
virtual void increment (int steps)
 Increments module key a number of entries.
virtual void decrement (int steps)
 Decrements module key a number of entries.
virtual bool isWritable ()
 Is the module writable? :).
virtual void setEntry (const char *inbuf, long len=-1)
 Modify the current module entry text - only if module isWritable().
virtual void linkEntry (const SWKey *linkKey)
 Link the current module entry to another module entry - only if module isWritable().
virtual void deleteEntry ()
 Delete current module entry - only if module isWritable().
 operator const char * ()
 operator SWKey & ()
 operator SWKey * ()
SWModuleoperator<< (const char *inbuf)
SWModuleoperator<< (const SWKey *sourceKey)
SWModuleoperator-= (int steps)
SWModuleoperator+= (int steps)
SWModuleoperator++ (int)
SWModuleoperator-- (int)
SWModuleoperator= (SW_POSITION p)

Static Public Member Functions

static char createModule (const char *path)

Detailed Description

Definition at line 33 of file rawcom.h.


Member Function Documentation

virtual SWBuf& sword::RawCom::getRawEntryBuf (  )  [virtual]

This function is reimplemented by the different kinds of module objects.

Returns:
the raw module text of the current entry

Implements sword::SWModule.

virtual void sword::RawCom::increment ( int  steps  )  [virtual]

Increments module key a number of entries.

Parameters:
steps Number of entries to jump forward

Reimplemented from sword::SWModule.

virtual void sword::RawCom::decrement ( int  steps  )  [inline, virtual]

Decrements module key a number of entries.

Parameters:
steps Number of entries to jump backward

Reimplemented from sword::SWModule.

Definition at line 47 of file rawcom.h.

References sword::SWModule::increment().

virtual bool sword::RawCom::isWritable (  )  [virtual]

Is the module writable? :).

Returns:
yes or no

Reimplemented from sword::SWModule.


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