///
string const & getText() const;
///
- char const * c_str() const;
- ///
- Bullet & operator = (Bullet const &);
+ Bullet & operator=(Bullet const &);
///
friend bool operator==(Bullet const &, Bullet const &);
- ///
- friend bool operator!=(Bullet const & b1, Bullet const & b2) {
- return !(b1 == b2);
- }
protected:
#ifdef ENABLE_ASSERTIONS
+ ///
void testInvariant() const {
Assert(font >= MIN);
Assert(font < FONTMAX);
///
void generateText() const;
///
- static string bulletSize(short int);
+ static string const bulletSize(short int);
///
- static string bulletEntry(short int, short int);
+ static string const bulletEntry(short int, short int);
///
- short font;
+ int font;
///
- short character;
+ int character;
///
- short size;
+ int size;
// size, character and font are array indices to access
// the predefined arrays of LaTeX equivalent strings.
return *this;
}
+/*-----------------End Bullet Member Functions-----------------*/
inline
-char const * Bullet::c_str() const
+bool operator!=(Bullet const & b1, Bullet const & b2)
{
- return getText().c_str();
+ return !(b1 == b2);
}
-
-/*-----------------End Bullet Member Functions-----------------*/
-
+///
extern
Bullet const ITEMIZE_DEFAULTS[];