Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
Xdmf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CrayzeeWulf
Xdmf
Commits
c04961b4
Commit
c04961b4
authored
May 17, 2011
by
Kenneth Leiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Add method to getName of XdmfArrayType as a string (useful when printing
error messages in client codes).
parent
ea5dbd14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
core/XdmfArrayType.cpp
core/XdmfArrayType.cpp
+6
-0
core/XdmfArrayType.hpp
core/XdmfArrayType.hpp
+7
-0
No files found.
core/XdmfArrayType.cpp
View file @
c04961b4
...
...
@@ -172,6 +172,12 @@ XdmfArrayType::getElementSize() const
return
mPrecision
;
}
std
::
string
XdmfArrayType
::
getName
()
const
{
return
mName
;
}
void
XdmfArrayType
::
getProperties
(
std
::
map
<
std
::
string
,
std
::
string
>
&
collectedProperties
)
const
{
...
...
core/XdmfArrayType.hpp
View file @
c04961b4
...
...
@@ -76,6 +76,13 @@ public:
*/
unsigned
int
getElementSize
()
const
;
/**
* Get the name of the data type.
*
* @return the name of the data type.
*/
std
::
string
getName
()
const
;
void
getProperties
(
std
::
map
<
std
::
string
,
std
::
string
>
&
collectedProperties
)
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment