WT_Text_Option_Scoring Class Reference
[Text options]

#include <text_options.h>

Inheritance diagram for WT_Text_Option_Scoring:

Inheritance graph
[legend]
Collaboration diagram for WT_Text_Option_Scoring:

Collaboration graph
[legend]
List of all members.

Detailed Description

Text option base class for underscoring and overscoring.

See also:
WT_Text

WT_Text_Option_Overscore

Definition at line 41 of file text_options.h.

Public Types

typedef std::vector< WT_Unsigned_Integer16tPositionVector

Public Member Functions

WT_Unsigned_Integer16 count () const
 Returns the size of the array accessed through positions().
virtual char const * opcode () const =0
 Returns the ASCII opcode string for the scoring subclass (includes start parenthesis.).
WT_Unsigned_Integer16 const * positions () const
 Returns the array of index positions within the string to which the scoring applies.
WT_Result set (WT_Unsigned_Integer16 count, WT_Unsigned_Integer16 const *pos)
 Sets the array of index positions within the string to which the scoring applies.
WT_Result set (const tPositionVector &rVector)
 Sets the array of index positions within the string to which the scoring applies.
WT_Text_Option_Scoring const & operator= (WT_Text_Option_Scoring const &scoring) throw (WT_Result)
 Assignment operator. Copies the values from the given WT_Text_Option_Scoring to this one.
WT_Result serialize (WT_Object const &parent, WT_File &file) const
 Serializes this dependent WT_Option of the parent object.
WT_Result materialize (WT_Object &parent, WT_Optioncode const &optioncode, WT_File &file)
 Materializes the dependent WT_Option of the parent object.

Protected Member Functions

 WT_Text_Option_Scoring ()
 Constructs a WT_Text_Option_Scoring object.
 WT_Text_Option_Scoring (WT_Text_Option_Scoring const &scoring) throw (WT_Result)
 Constructs a WT_Text_Option_Scoring object with the specified ASCII opcode string (includes start parenthesis.).
virtual ~WT_Text_Option_Scoring ()
 Destroys a WT_Text_Option_Scoring object.


Member Function Documentation

WT_Result WT_Text_Option_Scoring::set const tPositionVector rVector  ) 
 

Sets the array of index positions within the string to which the scoring applies.

Parameters:
rVector  Vector of index positions within the string to which the scoring applies.

WT_Result WT_Text_Option_Scoring::set WT_Unsigned_Integer16  count,
WT_Unsigned_Integer16 const *  pos
 

Sets the array of index positions within the string to which the scoring applies.

Parameters:
count  Size of pos array.
pos  Array of index positions within the string to which the scoring applies.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:26 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5