Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a17c3f96
Commit
a17c3f96
authored
Dec 03, 2010
by
mattijs
Browse files
STYLE: objectMap : indentation
parent
11979f6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMap.H
View file @
a17c3f96
...
...
@@ -49,6 +49,7 @@ class objectMap;
inline
bool
operator
==
(
const
objectMap
&
a
,
const
objectMap
&
b
);
inline
bool
operator
!=
(
const
objectMap
&
a
,
const
objectMap
&
b
);
inline
Ostream
&
operator
<<
(
Ostream
&
,
const
objectMap
&
);
inline
Istream
&
operator
>>
(
Istream
&
,
objectMap
&
);
/*---------------------------------------------------------------------------*\
...
...
@@ -100,6 +101,8 @@ public:
// IOstream Operators
friend
Ostream
&
operator
<<
(
Ostream
&
,
const
objectMap
&
);
friend
Istream
&
operator
>>
(
Istream
&
,
objectMap
&
);
};
...
...
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H
View file @
a17c3f96
...
...
@@ -122,6 +122,19 @@ inline Ostream& operator<<(Ostream& os, const objectMap& a)
}
inline
Istream
&
operator
>>
(
Istream
&
is
,
objectMap
&
a
)
{
is
.
readBegin
(
"objectMap"
);
is
>>
a
.
index_
>>
a
.
masterObjects_
;
is
.
readEnd
(
"objectMap"
);
// Check state of Istream
is
.
check
(
"Istream& operator>>(Istream&, objectMap&)"
);
return
is
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// Master namespace Foam
...
...
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