Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
dw::AlignedTextblock::List Class Reference

Public Member Functions

 List ()
 
int add (AlignedTextblock *textblock)
 
void unref (int pos)
 
int getMaxValue ()
 
void setMaxValue (int maxValue)
 
int size ()
 
AlignedTextblockgetTextblock (int pos)
 
int getValue (int pos)
 
void setValue (int pos, int value)
 

Private Member Functions

 ~List ()
 

Private Attributes

lout::misc::SimpleVector< AlignedTextblock * > * textblocks
 
lout::misc::SimpleVector< int > * values
 
int maxValue
 
int refCount
 

Detailed Description

Definition at line 16 of file alignedtextblock.hh.

Constructor & Destructor Documentation

◆ ~List()

dw::AlignedTextblock::List::~List ( )
private

Definition at line 36 of file alignedtextblock.cc.

◆ List()

dw::AlignedTextblock::List::List ( )

Definition at line 28 of file alignedtextblock.cc.

References maxValue, refCount, textblocks, and values.

Member Function Documentation

◆ add()

int dw::AlignedTextblock::List::add ( AlignedTextblock textblock)
inline

Definition at line 42 of file alignedtextblock.cc.

Referenced by dw::AlignedTextblock::setRefTextblock().

◆ getMaxValue()

int dw::AlignedTextblock::List::getMaxValue ( )
inline

Definition at line 30 of file alignedtextblock.hh.

References maxValue.

Referenced by dw::AlignedTextblock::updateValue().

◆ getTextblock()

AlignedTextblock * dw::AlignedTextblock::List::getTextblock ( int  pos)
inline

Definition at line 34 of file alignedtextblock.hh.

References textblocks.

Referenced by dw::AlignedTextblock::updateValue().

◆ getValue()

int dw::AlignedTextblock::List::getValue ( int  pos)
inline

Definition at line 36 of file alignedtextblock.hh.

References lout::misc::SimpleVector< T >::get(), and values.

Referenced by dw::AlignedTextblock::updateValue().

◆ setMaxValue()

void dw::AlignedTextblock::List::setMaxValue ( int  maxValue)
inline

Definition at line 31 of file alignedtextblock.hh.

References maxValue.

Referenced by dw::AlignedTextblock::updateValue().

◆ setValue()

void dw::AlignedTextblock::List::setValue ( int  pos,
int  value 
)
inline

Definition at line 37 of file alignedtextblock.hh.

References lout::misc::SimpleVector< T >::set(), and values.

Referenced by dw::AlignedTextblock::updateValue().

◆ size()

int dw::AlignedTextblock::List::size ( )
inline

Definition at line 33 of file alignedtextblock.hh.

References textblocks.

Referenced by dw::AlignedTextblock::updateValue().

◆ unref()

void dw::AlignedTextblock::List::unref ( int  pos)

Definition at line 51 of file alignedtextblock.cc.

Referenced by dw::AlignedTextblock::~AlignedTextblock().

Member Data Documentation

◆ maxValue

int dw::AlignedTextblock::List::maxValue
private

Definition at line 21 of file alignedtextblock.hh.

Referenced by getMaxValue(), List(), and setMaxValue().

◆ refCount

int dw::AlignedTextblock::List::refCount
private

Definition at line 21 of file alignedtextblock.hh.

Referenced by List().

◆ textblocks

lout::misc::SimpleVector<AlignedTextblock*>* dw::AlignedTextblock::List::textblocks
private

Definition at line 19 of file alignedtextblock.hh.

Referenced by getTextblock(), List(), and size().

◆ values

lout::misc::SimpleVector<int>* dw::AlignedTextblock::List::values
private

Definition at line 20 of file alignedtextblock.hh.

Referenced by getValue(), List(), and setValue().


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