-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up headers in OpenSimCreator/ModelGraph (#802)
- Loading branch information
1 parent
6492804
commit 7054d9f
Showing
19 changed files
with
251 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#include "GroundEl.hpp" | ||
|
||
#include <OpenSimCreator/ModelGraph/ModelGraphStrings.hpp> | ||
#include <OpenSimCreator/ModelGraph/ModelGraphIDs.hpp> | ||
#include <OpenSimCreator/ModelGraph/SceneElClass.hpp> | ||
|
||
#include <IconsFontAwesome5.h> | ||
#include <oscar/Utils/CStringView.hpp> | ||
#include <oscar/Utils/UID.hpp> | ||
|
||
#include <iostream> | ||
|
||
osc::SceneElClass osc::GroundEl::CreateClass() | ||
{ | ||
return | ||
{ | ||
ModelGraphStrings::c_GroundLabel, | ||
ModelGraphStrings::c_GroundLabelPluralized, | ||
ModelGraphStrings::c_GroundLabelOptionallyPluralized, | ||
ICON_FA_DOT_CIRCLE, | ||
ModelGraphStrings::c_GroundDescription, | ||
}; | ||
} | ||
|
||
osc::UID osc::GroundEl::implGetID() const | ||
{ | ||
return ModelGraphIDs::Ground(); | ||
} | ||
|
||
std::ostream& osc::GroundEl::implWriteToStream(std::ostream& o) const | ||
{ | ||
return o << ModelGraphStrings::c_GroundLabel << "()"; | ||
} | ||
|
||
osc::CStringView osc::GroundEl::implGetLabel() const | ||
{ | ||
return ModelGraphStrings::c_GroundLabel; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.