Class BaseClass

Inheritance Relationships

Derived Types

Class Documentation

class BaseClass

A fully documented class for inheriting from.

Subclassed by arbitrary::DerivedClass< T, N >, arbitrary::DerivedClass< arbitrary::arbitrary_struct, N >, arbitrary::DerivedClass< bool, 2 >, SomeOuterClass

Public Functions

BaseClass() = delete

The default constructor for this class does not exist, as some_data must be initialized.

inline virtual ~BaseClass()

The default destructor; does nothing.

virtual void virtualMethod() = 0

A pure virtual method with a brief definition.

Which is then followed by a more descriptive “detailed” definition.

inline virtual unsigned int getData()

The value of this BaseClass’s protected data.

Returns

The value of BaseClass::some_data

Protected Functions

inline BaseClass(unsigned int data)

The only constructor available, initializes some_data.

Parameters

data – The number of some_data this BaseClass represents.

Protected Attributes

unsigned int some_data = 0

The value of something important.