++coding-style

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1365 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-06-21 10:39:05 +00:00
parent 127a25707f
commit 5effe564f0

View File

@ -16,10 +16,9 @@ namespace fail {
*
* Lists the different register types. You need to expand this enumeration
* to provide more detailed types for your concrete derived register classes
* specific to a simulator.
* specific to a simulator/architecture.
*/
enum RegisterType
{
enum RegisterType {
RT_GP, //!< general purpose
RT_PC, //!< program counter / instruction pointer
RT_ST //!< status register
@ -31,8 +30,7 @@ enum RegisterType
* Represents the basic generic register class. A set of registers is composed
* of classes which had been derived from this class.
*/
class Register
{
class Register {
protected:
RegisterType m_Type; //!< the type of this register
regwidth_t m_Width; //!< the register width
@ -113,8 +111,7 @@ class Register
* enumeration \c RegisterType. (All registers within this set must be of the
* same register type.) The capacity of the set is managed automatically.
*/
class UniformRegisterSet
{
class UniformRegisterSet {
private:
std::vector< Register* > m_Regs; //!< the unique set of registers
RegisterType m_Type; //!< the overall type of this container (set)
@ -180,8 +177,7 @@ class UniformRegisterSet
* Represents a complete set of (inhomogeneous) registers specific to a concrete
* architecture, e.g. x86 or ARM.
*/
class RegisterManager
{
class RegisterManager {
protected:
std::vector< Register* > m_Registers;
//!< the managed set of homogeneous sets