MachineComponent.cc Source File
Back to the index.
Go to the documentation of this file.
45 if (attributeName ==
"machine")
48 if (attributeName ==
"stable")
51 if (attributeName ==
"description")
52 return "A generic machine container.";
65 static void Test_MachineComponent_IsMachine()
71 static void Test_MachineComponent_IsStable()
79 UNITTEST(Test_MachineComponent_IsMachine);
80 UNITTEST(Test_MachineComponent_IsStable);
#define UNITTESTS(class)
Helper for unit test case execution.
MachineComponent()
Constructs a MachineComponent.
#define UNITTEST(functionname)
Helper for unit test case execution.
static void Assert(const string &strFailMessage, bool condition)
Asserts that a boolean condition is correct.
static string GetAttribute(const string &attributeName)
Get attribute information about the MachineComponent class.
static refcount_ptr< Component > Create(const ComponentCreateArgs &args)
Creates a MachineComponent.
A Component representing a machine.
A Component is a node in the configuration tree that makes up an emulation setup.
static bool HasAttribute(const string &name, const string &attributeName)
Checks if a component has a specific attribute.
static string GetAttribute(const string &attributeName)
Creates a Component.
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17