Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
ComplexValue Struct Reference
Collaboration diagram for ComplexValue:
[legend]

Public Member Functions

 ComplexValue ()
 
 ComplexValue (const std::string &d, int c)
 
 ComplexValue (const ComplexValue &other)
 
 ComplexValue (ComplexValue &&other) noexcept
 
ComplexValueoperator= (const ComplexValue &other)
 
ComplexValueoperator= (ComplexValue &&other) noexcept
 
bool operator== (const ComplexValue &other) const
 

Public Attributes

std::string data
 
int counter
 

Static Public Attributes

static int copy_count = 0
 
static int move_count = 0
 

Detailed Description

Definition at line 519 of file tpl_dynLhash_test.cc.

Constructor & Destructor Documentation

◆ ComplexValue() [1/4]

ComplexValue::ComplexValue ( )
inline

Definition at line 526 of file tpl_dynLhash_test.cc.

◆ ComplexValue() [2/4]

ComplexValue::ComplexValue ( const std::string &  d,
int  c 
)
inline

Definition at line 527 of file tpl_dynLhash_test.cc.

◆ ComplexValue() [3/4]

ComplexValue::ComplexValue ( const ComplexValue other)
inline

Definition at line 529 of file tpl_dynLhash_test.cc.

References copy_count.

◆ ComplexValue() [4/4]

ComplexValue::ComplexValue ( ComplexValue &&  other)
inlinenoexcept

Definition at line 532 of file tpl_dynLhash_test.cc.

References move_count.

Member Function Documentation

◆ operator=() [1/2]

ComplexValue & ComplexValue::operator= ( ComplexValue &&  other)
inlinenoexcept

Definition at line 543 of file tpl_dynLhash_test.cc.

References counter, data, Aleph::maps(), and move_count.

◆ operator=() [2/2]

ComplexValue & ComplexValue::operator= ( const ComplexValue other)
inline

Definition at line 535 of file tpl_dynLhash_test.cc.

References copy_count, counter, data, and Aleph::maps().

◆ operator==()

bool ComplexValue::operator== ( const ComplexValue other) const
inline

Definition at line 551 of file tpl_dynLhash_test.cc.

References counter, data, and Aleph::maps().

Member Data Documentation

◆ copy_count

int ComplexValue::copy_count = 0
static

Definition at line 523 of file tpl_dynLhash_test.cc.

Referenced by ComplexValue(), operator=(), and TEST().

◆ counter

int ComplexValue::counter

Definition at line 522 of file tpl_dynLhash_test.cc.

Referenced by operator=(), operator=(), and operator==().

◆ data

std::string ComplexValue::data

Definition at line 521 of file tpl_dynLhash_test.cc.

Referenced by operator=(), operator=(), and operator==().

◆ move_count

int ComplexValue::move_count = 0
static

Definition at line 524 of file tpl_dynLhash_test.cc.

Referenced by ComplexValue(), operator=(), and TEST().


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