MachineComponent.cc Source File
Back to the index.
Go to the documentation of this file.
45 if (attributeName ==
"machine")
48 if (attributeName ==
"description")
49 return "A generic machine container.";
62 static void Test_MachineComponent_IsMachine()
70 UNITTEST(Test_MachineComponent_IsMachine);
#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 Aug 25 2020 19:25:06 for GXemul by
1.8.18