Public Member Functions | Private Attributes

Stylist_row Class Reference

#include <ap_Dialog_Stylist.h>

List of all members.

Public Member Functions

 Stylist_row (void)
virtual ~Stylist_row (void)
void addStyle (const std::string &sStyle)
void setRowName (const std::string &sRowname)
void getRowName (std::string &sRowname) const
UT_sint32 getNumCols (void) const
bool findStyle (UT_UTF8String &sStyleName, UT_sint32 &col)
bool getStyle (UT_UTF8String &sStyleName, UT_sint32 col)

Private Attributes

UT_GenericVector< UT_UTF8String * > m_vecStyles
std::string m_sRowName

Constructor & Destructor Documentation

Stylist_row::Stylist_row ( void   ) 

This class holds a row of style names and a useful API to access them.

References UT_GenericVector< T >::clear(), m_vecStyles, and UT_DEBUGMSG.

Stylist_row::~Stylist_row ( void   )  [virtual]

Member Function Documentation

void Stylist_row::addStyle ( const std::string &  sStyle  ) 
bool Stylist_row::findStyle ( UT_UTF8String sStyleName,
UT_sint32 col 
UT_sint32 Stylist_row::getNumCols ( void   )  const
void Stylist_row::getRowName ( std::string &  sRowname  )  const

References m_sRowName.

Referenced by Stylist_tree::getNameOfRow().

bool Stylist_row::getStyle ( UT_UTF8String sStyleName,
UT_sint32  col 
void Stylist_row::setRowName ( const std::string &  sRowname  ) 

References m_sRowName.

Referenced by Stylist_tree::buildStyles().

Member Data Documentation

std::string Stylist_row::m_sRowName [private]

Referenced by getRowName(), and setRowName().

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