FWTextInternal::Item Struct Reference

Internal: class to store an item state. More...

Public Types

enum  Type {
  Father = 0, Child, Next, Prev,
  Main
}
 the different type of id More...

Public Member Functions

 Item ()
 constructor
std::string label () const
 return a value which can be used to represent the label(changme)

Public Attributes

int m_level
 the level
int m_index
 the actual index
bool m_collapsed
 true if the item is hidden
bool m_hidden
 true if the item is hidden
std::vector< int > m_childList
 the list of childlist
shared_ptr< Zonem_hiddenZone
 the hidden item zone
int m_structId [5]
 the item id in text struct zone ( father, child, next, prev, main )
std::string m_extra
 extra data

Friends

std::ostream & operator<< (std::ostream &o, Item const &it)
 operator<<

Detailed Description

Internal: class to store an item state.

Member Enumeration Documentation

the different type of id

Enumerator:
Father 
Child 
Next 
Prev 
Main 

Constructor & Destructor Documentation

FWTextInternal::Item::Item ( )
inline

constructor

Member Function Documentation

std::string FWTextInternal::Item::label ( ) const
inline

return a value which can be used to represent the label(changme)

Referenced by FWText::send().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Item const &  it 
)
friend

operator<<

Member Data Documentation

std::vector<int> FWTextInternal::Item::m_childList

the list of childlist

Referenced by FWText::createItemStructures(), FWText::send(), and FWText::sendHiddenItem().

bool FWTextInternal::Item::m_collapsed

true if the item is hidden

Referenced by FWText::createItemStructures(), and FWText::send().

std::string FWTextInternal::Item::m_extra

extra data

Referenced by FWText::readItem().

bool FWTextInternal::Item::m_hidden

true if the item is hidden

Referenced by FWText::createItemStructures(), FWText::readItem(), and FWText::sendHiddenItem().

shared_ptr<Zone> FWTextInternal::Item::m_hiddenZone

the hidden item zone

Referenced by FWText::readItem(), and FWText::sendHiddenItem().

int FWTextInternal::Item::m_index

the actual index

Referenced by label(), and FWText::readItem().

int FWTextInternal::Item::m_level

the level

Referenced by label(), and FWText::readItem().

int FWTextInternal::Item::m_structId[5]

the item id in text struct zone ( father, child, next, prev, main )

Referenced by FWText::createItemStructures(), Item(), and FWText::readItem().


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

Generated on Wed May 22 2013 18:12:47 for libmwaw by doxygen 1.8.1.2