BarSeparator Class Reference

Defines a gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item. More...

#include <bars.h>

Inheritance diagram for BarSeparator:

BarItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

BOOL Read (CCLexFile &)
BOOL Write (CCLexFile &file)
 Writes a tokenized form of the separator to the given file.
virtual BOOL Read (String_256 *)
virtual BOOL Write (String_256 *)
 Writes the control to the given string.

Detailed Description

Defines a gap between the item before this one and the one that follows. Can be viewed as a 'space' char when look at as a formatting item.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/4/94

Definition at line 482 of file bars.h.


Member Function Documentation

virtual BOOL BarSeparator::Read String_256  )  [inline, virtual]
 

Implements BarItem.

Definition at line 490 of file bars.h.

00490 { return TRUE; }

BOOL BarSeparator::Read CCLexFile  )  [inline, virtual]
 

Implements BarItem.

Definition at line 487 of file bars.h.

00487 { return TRUE; }

BOOL BarSeparator::Write String_256 pString  )  [virtual]
 

Writes the control to the given string.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/2/97
Parameters:
pString = string to put the data for this control into [OUTPUTS]
Returns:
TRUE if successful, FALSE otherwise

Errors: -

See also:
-

Implements BarItem.

Definition at line 4316 of file bars.cpp.

04317 {
04318     ERROR2IF(pString == NULL,FALSE,"Write given null string");
04319     *pString += TokenTable[TOKEN_BAR_SEPARATOR].Token;
04320     return TRUE;
04321 }

BOOL BarSeparator::Write CCLexFile file  )  [virtual]
 

Writes a tokenized form of the separator to the given file.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/3/94
Parameters:
file = a file object [INPUTS]
- [OUTPUTS]
Returns:
TRUE if successful, FALSE otherwise

Errors: -

See also:
-

Implements BarItem.

Definition at line 4297 of file bars.cpp.

04298 {
04299     return (file.PutToken(TokenTable[TOKEN_BAR_SEPARATOR].Token));
04300 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:50:48 2007 for Camelot by  doxygen 1.4.4