Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xdmf
Xdmf
Commits
2be47fed
Commit
2be47fed
authored
Feb 09, 2010
by
Ken Leiter (Civ
Browse files
STYLE: Remove const qualifier from return of printSelf() --- it is unecessary
parent
ed10d434
Changes
13
Hide whitespace changes
Inline
Side-by-side
XdmfAttribute.cpp
View file @
2be47fed
...
...
@@ -66,7 +66,7 @@ void XdmfAttribute::write(boost::shared_ptr<XdmfVisitor> visitor) const
visitor
->
visit
(
this
);
}
const
std
::
string
XdmfAttribute
::
printSelf
()
const
std
::
string
XdmfAttribute
::
printSelf
()
const
{
return
"<XdmfAttribute>"
;
}
XdmfAttribute.hpp
View file @
2be47fed
...
...
@@ -76,7 +76,7 @@ public:
void
write
(
boost
::
shared_ptr
<
XdmfVisitor
>
visitor
)
const
;
virtual
const
std
::
string
printSelf
()
const
;
virtual
std
::
string
printSelf
()
const
;
protected:
...
...
XdmfGeometry.cpp
View file @
2be47fed
...
...
@@ -39,7 +39,7 @@ int XdmfGeometry::getDimensions() const
return
mGeometryType
.
getDimensions
();
}
const
std
::
string
XdmfGeometry
::
printSelf
()
const
std
::
string
XdmfGeometry
::
printSelf
()
const
{
return
"XdmfGeometry"
;
}
...
...
XdmfGeometry.hpp
View file @
2be47fed
...
...
@@ -46,7 +46,7 @@ public:
*/
int
getDimensions
()
const
;
virtual
const
std
::
string
printSelf
()
const
;
virtual
std
::
string
printSelf
()
const
;
virtual
void
write
(
boost
::
shared_ptr
<
XdmfVisitor
>
visitor
)
const
;
...
...
XdmfGrid.cpp
View file @
2be47fed
...
...
@@ -103,7 +103,7 @@ unsigned int XdmfGrid::getNumberOfAttribute() const
return
mAttributes
.
size
();
}
const
std
::
string
XdmfGrid
::
printSelf
()
const
std
::
string
XdmfGrid
::
printSelf
()
const
{
return
"XdmfGrid containing a "
+
mGeometry
->
printSelf
()
+
" and a "
+
mTopology
->
printSelf
();
}
...
...
XdmfGrid.hpp
View file @
2be47fed
...
...
@@ -101,7 +101,7 @@ public:
*/
unsigned
int
getNumberOfAttribute
()
const
;
virtual
const
std
::
string
printSelf
()
const
;
virtual
std
::
string
printSelf
()
const
;
virtual
void
write
(
boost
::
shared_ptr
<
XdmfVisitor
>
visitor
)
const
;
...
...
XdmfItem.hpp
View file @
2be47fed
...
...
@@ -27,8 +27,8 @@ protected:
private:
XdmfItem
(
const
XdmfItem
&
);
// Not implemented.
void
operator
=
(
const
XdmfItem
&
);
// Not implemented.
XdmfItem
(
const
XdmfItem
&
);
// Not implemented.
void
operator
=
(
const
XdmfItem
&
);
// Not implemented.
};
...
...
XdmfObject.cpp
View file @
2be47fed
...
...
@@ -17,7 +17,7 @@ XdmfObject::~XdmfObject()
}
const
std
::
string
XdmfObject
::
printSelf
()
const
std
::
string
XdmfObject
::
printSelf
()
const
{
return
"XdmfObject"
;
}
...
...
XdmfObject.hpp
View file @
2be47fed
...
...
@@ -24,7 +24,7 @@ class XdmfObject {
public:
virtual
const
std
::
string
printSelf
()
const
=
0
;
virtual
std
::
string
printSelf
()
const
=
0
;
protected:
...
...
XdmfTopology.cpp
View file @
2be47fed
...
...
@@ -50,7 +50,7 @@ std::string XdmfTopology::getTopologyTypeAsString() const
return
mTopologyType
.
getName
();
}
const
std
::
string
XdmfTopology
::
printSelf
()
const
std
::
string
XdmfTopology
::
printSelf
()
const
{
return
"XdmfTopology"
;
}
...
...
XdmfTopology.hpp
View file @
2be47fed
...
...
@@ -63,7 +63,7 @@ public:
/**
*
*/
virtual
const
std
::
string
printSelf
()
const
;
virtual
std
::
string
printSelf
()
const
;
virtual
void
write
(
boost
::
shared_ptr
<
XdmfVisitor
>
visitor
)
const
;
...
...
XdmfVisitor.cpp
View file @
2be47fed
...
...
@@ -53,7 +53,7 @@ void XdmfVisitor::visit(const XdmfTopology * const topology)
xmlData
<<
std
::
setw
(
mTabIndex
)
<<
""
<<
"</Topology>
\n
"
;
}
const
std
::
string
XdmfVisitor
::
printSelf
()
const
std
::
string
XdmfVisitor
::
printSelf
()
const
{
return
"XdmfVisitor:
\n
"
+
xmlData
.
str
();
}
XdmfVisitor.hpp
View file @
2be47fed
...
...
@@ -28,7 +28,7 @@ public:
virtual
void
visit
(
const
XdmfTopology
*
const
topology
);
const
std
::
string
printSelf
()
const
;
virtual
std
::
string
printSelf
()
const
;
protected:
...
...
Write
Preview
Supports
Markdown
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