mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
OpenFOAM/containers: Standardized assignment docs
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user