The Gnome Chemistry Utils 0.13.3
Public Member Functions
gccv::FamilyTextTag Class Reference

Font family. More...

#include <text-tag.h>

Inheritance diagram for gccv::FamilyTextTag:
gccv::TextTag

List of all members.

Public Member Functions

 FamilyTextTag (std::string const &family)
 FamilyTextTag (char const *family)
virtual ~FamilyTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
std::string const & GetFamily () const

Detailed Description

Font family.

TextTag class for font family.

Definition at line 253 of file text-tag.h.


Constructor & Destructor Documentation

gccv::FamilyTextTag::FamilyTextTag ( std::string const &  family)
Parameters:
familya font family name.

Constructs a FamilyTextTag with family as font family name.

gccv::FamilyTextTag::FamilyTextTag ( char const *  family)
Parameters:
familya font family name.

Constructs a FamilyTextTag with family as font family name.

virtual gccv::FamilyTextTag::~FamilyTextTag ( ) [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::FamilyTextTag::Duplicate ( ) const [virtual]

Creates a copy of the FamilyTextTag with the same font family name.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::FamilyTextTag::Filter ( PangoAttrList *  l,
unsigned  start,
unsigned  end 
) [virtual]
Parameters:
la PangoAttrList.
startthe start index of the relevant text.
endthe end index of the relevant text.

Filter method for the FamilyTextTag class.

Implements gccv::TextTag.

std::string const& gccv::FamilyTextTag::GetFamily ( ) const [inline]
Returns:
the font family name associated with the FamilyTextTag.

Definition at line 297 of file text-tag.h.

bool gccv::FamilyTextTag::operator== ( TextTag const &  tag) const [virtual]
Parameters:
taga TextTag.

Equality operator.

Returns:
true if tag is a FamilyTextTag and has the same font family name than this.

Implements gccv::TextTag.


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