Commit 3d742e78 authored by Henry Weller's avatar Henry Weller
Browse files

OpenFOAM/containers: Standardized assignment docs

parent c4f844a6
......@@ -115,7 +115,7 @@ public:
//- Return const access to an element
inline const T& operator[](const label) const;
//- Assignment from UList of addressed elements
//- Assignment to UList of addressed elements
inline void operator=(const UList<T>&);
//- Assignment of all entries to the given value
......
......@@ -217,16 +217,16 @@ public:
//- Assignment of all addressed entries to the given value
inline void operator=(const T&);
//- Assignment from DynamicList
//- Assignment to DynamicList
inline void operator=
(
const DynamicList<T, SizeInc, SizeMult, SizeDiv>&
);
//- Assignment from UList
//- Assignment to UList
inline void operator=(const UList<T>&);
//- Assignment from UIndirectList
//- Assignment to UIndirectList
inline void operator=(const UIndirectList<T>&);
......
......@@ -121,7 +121,7 @@ public:
//- Assignment of all entries to the given value
inline void operator=(const T&);
//- Assignment from UList operator. Takes linear time.
//- Assignment to UList operator. Takes linear time.
inline void operator=(const UList<T>&);
//- Assignment operator. Takes linear time.
......
......@@ -113,10 +113,10 @@ public:
//- Return const access to an element
inline const T& operator[](const label) const;
//- Assignment from UList of addressed elements
//- Assignment to UList of addressed elements
inline void operator=(const UList<T>&);
//- Assignment from UIndirectList of addressed elements
//- Assignment to UIndirectList of addressed elements
inline void operator=(const UIndirectList<T>&);
//- Assignment of all entries to the given value
......
......@@ -230,13 +230,13 @@ public:
//- Assignment of all addressed entries to the given value
inline void operator=(const T&);
//- Assignment from DynamicField
//- Assignment to DynamicField
inline void operator=
(
const DynamicField<T, SizeInc, SizeMult, SizeDiv>&
);
//- Assignment from UList
//- Assignment to UList
inline void operator=(const UList<T>&);
};
......
......@@ -187,13 +187,13 @@ public:
return (switch_ & 0x1);
}
//- Assignment from enumerated value
//- Assignment to enumerated value
void operator=(const switchType sw)
{
switch_ = sw;
}
//- Assignment from bool
//- Assignment to bool
void operator=(const bool b)
{
switch_ = (b ? Switch::TRUE : Switch::FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment