Public Member Functions | Private Attributes | Friends
labelledPointScalar Class Reference
Collaboration diagram for labelledPointScalar:
Collaboration graph
[legend]

Public Member Functions

 labelledPointScalar ()
 Null construct. More...
 
 labelledPointScalar (const label pl, const point &p, const scalar s)
 Construct from point and label. More...
 
 ~labelledPointScalar ()
 
label pointLabel () const
 return point label More...
 
labelpointLabel ()
 
const pointcoordinates () const
 return point coordinates More...
 
pointcoordinates ()
 
const scalar & scalarValue () const
 return scalar value More...
 
scalar & scalarValue ()
 
void operator= (const labelledPointScalar &lps)
 
bool operator== (const labelledPointScalar &lps) const
 
bool operator!= (const labelledPointScalar &lps) const
 

Private Attributes

label pLabel_
 point label More...
 
point coords_
 point coordinates More...
 
scalar weight_
 scalar data More...
 

Friends

Ostreamoperator<< (Ostream &os, const labelledPointScalar &lps)
 
Istreamoperator>> (Istream &is, labelledPointScalar &lps)
 

Detailed Description

Definition at line 50 of file labelledPointScalar.H.

Constructor & Destructor Documentation

◆ labelledPointScalar() [1/2]

labelledPointScalar ( )
inline

Null construct.

Definition at line 66 of file labelledPointScalar.H.

◆ labelledPointScalar() [2/2]

labelledPointScalar ( const label  pl,
const point p,
const scalar  s 
)
inline

Construct from point and label.

Definition at line 74 of file labelledPointScalar.H.

◆ ~labelledPointScalar()

~labelledPointScalar ( )
inline

Definition at line 82 of file labelledPointScalar.H.

Member Function Documentation

◆ pointLabel() [1/2]

label pointLabel ( ) const
inline

◆ pointLabel() [2/2]

label& pointLabel ( )
inline

Definition at line 92 of file labelledPointScalar.H.

References labelledPointScalar::pLabel_.

◆ coordinates() [1/2]

const point& coordinates ( ) const
inline

◆ coordinates() [2/2]

point& coordinates ( )
inline

Definition at line 103 of file labelledPointScalar.H.

References labelledPointScalar::coords_.

◆ scalarValue() [1/2]

const scalar& scalarValue ( ) const
inline

◆ scalarValue() [2/2]

scalar& scalarValue ( )
inline

Definition at line 114 of file labelledPointScalar.H.

References labelledPointScalar::weight_.

◆ operator=()

void operator= ( const labelledPointScalar lps)
inline

◆ operator==()

bool operator== ( const labelledPointScalar lps) const
inline

Definition at line 128 of file labelledPointScalar.H.

References labelledPointScalar::pLabel_.

Referenced by labelledPointScalar::operator!=().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const labelledPointScalar lps) const
inline

Definition at line 136 of file labelledPointScalar.H.

References labelledPointScalar::operator==().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const labelledPointScalar lps 
)
friend

Definition at line 142 of file labelledPointScalar.H.

◆ operator>>

Istream& operator>> ( Istream is,
labelledPointScalar lps 
)
friend

Definition at line 155 of file labelledPointScalar.H.

Field Documentation

◆ pLabel_

label pLabel_
private

◆ coords_

point coords_
private

point coordinates

Definition at line 57 of file labelledPointScalar.H.

Referenced by labelledPointScalar::coordinates(), and labelledPointScalar::operator=().

◆ weight_

scalar weight_
private

scalar data

Definition at line 60 of file labelledPointScalar.H.

Referenced by labelledPointScalar::operator=(), and labelledPointScalar::scalarValue().


The documentation for this class was generated from the following file: