Class Ordinal

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class Ordinal

Public Methods
Ordinal(value)
Ordinal(type, value)
inline unsigned long getValue()
inline void setValue(value)
inline unsigned long next()
string toString()
static string toString(type, value)
static string toArabicString(value)
static string toRomanString(value)
static string toAlphabetString(value)
Private Properties
Private Methods
static string romanDigit(n, c1, c5, c10)

#include <Ordinal.h >

Public Methods

Ordinal(value)

unsigned long value

Default value: 1


Ordinal(type, value)

const string& type

long value

Default value: 1


inline unsigned long getValue()

inline void setValue(value)

unsigned long value


inline unsigned long next()

string toString()

static string toString(type, value)

const string& type

unsigned long value


static string toArabicString(value)

unsigned long value


static string toRomanString(value)

unsigned long value


static string toAlphabetString(value)

unsigned long value


Private Properties

unsigned long value

string type


Private Methods

static string romanDigit(n, c1, c5, c10)

int n

char c1

char c5

char c10