STYLE: provide labelPair typedef (a common type) within Pair.H itself
This commit is contained in:
parent
26a6533053
commit
f88708797f
@ -50,6 +50,13 @@ See also
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward declarations
|
||||||
|
template<class T> class Pair;
|
||||||
|
|
||||||
|
// Common pair types
|
||||||
|
typedef Pair<label> labelPair; //!< A pair of labels
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class Pair Declaration
|
Class Pair Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -163,7 +170,6 @@ public:
|
|||||||
return seed;
|
return seed;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,12 +23,6 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Typedef
|
|
||||||
Foam::labelPair
|
|
||||||
|
|
||||||
Description
|
|
||||||
A pair of labels.
|
|
||||||
|
|
||||||
Typedef
|
Typedef
|
||||||
Foam::labelPairPair
|
Foam::labelPairPair
|
||||||
|
|
||||||
@ -66,7 +60,6 @@ Description
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
typedef Pair<label> labelPair;
|
|
||||||
typedef Pair<labelPair> labelPairPair;
|
typedef Pair<labelPair> labelPairPair;
|
||||||
typedef List<labelPair> labelPairList;
|
typedef List<labelPair> labelPairList;
|
||||||
typedef UList<labelPair> labelPairUList;
|
typedef UList<labelPair> labelPairUList;
|
||||||
|
Loading…
Reference in New Issue
Block a user