aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Model/Workflow/Value.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-11-27 12:04:31 -0800
committerrtk0c <[email protected]>2022-11-27 12:04:31 -0800
commit182c8f8357739f905bbd721006480502435b6b43 (patch)
tree082613a474d863182e2ad8f2167f1643f26e67a3 /app/source/Cplt/Model/Workflow/Value.hpp
parentb01ed99a1cd0c863c8709930658513c04dd70f61 (diff)
Update brace style to match rest of my projectscplt-imgui
Diffstat (limited to 'app/source/Cplt/Model/Workflow/Value.hpp')
-rw-r--r--app/source/Cplt/Model/Workflow/Value.hpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/app/source/Cplt/Model/Workflow/Value.hpp b/app/source/Cplt/Model/Workflow/Value.hpp
index 70fcb57..8e39358 100644
--- a/app/source/Cplt/Model/Workflow/Value.hpp
+++ b/app/source/Cplt/Model/Workflow/Value.hpp
@@ -8,11 +8,9 @@
#include <string>
#include <vector>
-class BaseValue
-{
+class BaseValue {
public:
- enum Kind
- {
+ enum Kind {
KD_Numeric,
KD_Text,
KD_DateTime,
@@ -30,8 +28,7 @@ public:
KindCount = InvalidKind,
};
- struct KindInfo
- {
+ struct KindInfo {
ImGui::IconType PinIcon;
RgbaColor PinColor;
};
@@ -64,11 +61,9 @@ public:
virtual void WriteTo(std::ostream& stream);
};
-class BaseObjectDescription
-{
+class BaseObjectDescription {
public:
- struct Property
- {
+ struct Property {
std::string Name;
BaseValue::Kind Kind;
bool Mutatable = true;
@@ -78,8 +73,7 @@ public:
std::vector<Property> Properties;
};
-class BaseObjectValue : public BaseValue
-{
+class BaseObjectValue : public BaseValue {
public:
/// \param kind A value kind enum, within the range of KD_BaseObject and KD_BaseObjectLast (both inclusive).
static const BaseObjectDescription& QueryObjectInfo(Kind kind);