OpenFOAM/containers: Standardized assignment docs
This commit is contained in:
parent
c4f844a68b
commit
3d742e78a9
6 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue