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

Public Member Functions

 Foo ()
 
 Foo (int num)
 
bool operator== (const Foo &foo) const
 
 Foo ()
 
 Foo (int __f1)
 
 Foo (string __f2)
 
 Foo (int __f1, const string &__f2)
 
 Foo (int __f1, const string &__f2, float __f3)
 
 Foo ()
 
 Foo (int i)
 
 Foo (const Foo &f)
 
 Foo (Foo &&f) noexcept=default
 
Foooperator= (const Foo &f)
 
Foooperator= (Foo &&f) noexcept=default
 
 ~Foo ()=default
 
 operator int () const
 
 Foo ()
 
 Foo (const string &str)
 
 Foo (int i)
 
bool operator< (const Foo &r)
 
bool operator<= (const Foo &r)
 
void swap (Foo &f)
 
 Foo ()
 
 Foo (int i)
 
 Foo (const Foo &f)
 
 Foo (Foo &&f)
 
Foooperator= (const Foo &f)
 
Foooperator= (Foo &&f)
 
 ~Foo ()
 
 operator int () const
 
 Foo (const char *data, int i)
 
 Foo ()
 
 ~Foo ()
 
bool operator< (const Foo rhs) const
 

Public Attributes

string val
 
int i = -1
 
int f1 = -1
 
string f2 = "hello"
 
float f3 = 0
 
std::unique_ptr< intptr
 
string a = "hello world"
 
int number
 
intptr
 
string * data_ptr = nullptr
 

Friends

ostream & operator<< (ostream &s, const Foo &foo)
 

Detailed Description

Definition at line 167 of file hash_resize.C.

Constructor & Destructor Documentation

◆ Foo() [1/20]

Foo::Foo ( )
inline

Definition at line 172 of file hash_resize.C.

◆ Foo() [2/20]

Foo::Foo ( int  num)
inline

Definition at line 173 of file hash_resize.C.

◆ Foo() [3/20]

Foo::Foo ( )
inline

Definition at line 50 of file test-emplace.C.

◆ Foo() [4/20]

Foo::Foo ( int  __f1)
inline

Definition at line 52 of file test-emplace.C.

◆ Foo() [5/20]

Foo::Foo ( string  __f2)
inline

Definition at line 54 of file test-emplace.C.

◆ Foo() [6/20]

Foo::Foo ( int  __f1,
const string &  __f2 
)
inline

Definition at line 56 of file test-emplace.C.

◆ Foo() [7/20]

Foo::Foo ( int  __f1,
const string &  __f2,
float  __f3 
)
inline

Definition at line 58 of file test-emplace.C.

◆ Foo() [8/20]

Foo::Foo ( )
inline

Definition at line 44 of file test-memarray.C.

◆ Foo() [9/20]

Foo::Foo ( int  i)
inline

Definition at line 46 of file test-memarray.C.

◆ Foo() [10/20]

Foo::Foo ( const Foo f)
inline

Definition at line 48 of file test-memarray.C.

◆ Foo() [11/20]

Foo::Foo ( Foo &&  f)
defaultnoexcept

◆ ~Foo() [1/3]

Foo::~Foo ( )
default

◆ Foo() [12/20]

Foo::Foo ( )
inline

Definition at line 37 of file test-odhash.cc.

◆ Foo() [13/20]

Foo::Foo ( const string &  str)
inline

Definition at line 38 of file test-odhash.cc.

◆ Foo() [14/20]

Foo::Foo ( int  i)
inline

Definition at line 44 of file testBinHeapPtr.C.

◆ Foo() [15/20]

Foo::Foo ( )
inline

Definition at line 49 of file testQueue.C.

References Aleph::divide_and_conquer_partition_dp(), g_count, and ptr.

◆ Foo() [16/20]

Foo::Foo ( int  i)
inline

Definition at line 55 of file testQueue.C.

References Aleph::divide_and_conquer_partition_dp(), i, and ptr.

◆ Foo() [17/20]

Foo::Foo ( const Foo f)
inline

Definition at line 61 of file testQueue.C.

References Aleph::divide_and_conquer_partition_dp(), and ptr.

◆ Foo() [18/20]

Foo::Foo ( Foo &&  f)
inline

Definition at line 70 of file testQueue.C.

References ptr.

◆ ~Foo() [2/3]

Foo::~Foo ( )
inline

Definition at line 105 of file testQueue.C.

References ptr.

◆ Foo() [19/20]

Foo::Foo ( const char data,
int  i 
)
inline

Definition at line 123 of file ah-arena.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ Foo() [20/20]

Foo::Foo ( )
inline

Definition at line 129 of file ah-arena.cc.

◆ ~Foo() [3/3]

Foo::~Foo ( )
inline

Definition at line 131 of file ah-arena.cc.

References data_ptr, and Aleph::divide_and_conquer_partition_dp().

Member Function Documentation

◆ operator int() [1/2]

Foo::operator int ( ) const
inline

Definition at line 63 of file test-memarray.C.

References ah_domain_error_if, Aleph::divide_and_conquer_partition_dp(), and ptr.

◆ operator int() [2/2]

Foo::operator int ( ) const
inline

Definition at line 116 of file testQueue.C.

References ptr.

◆ operator<() [1/2]

bool Foo::operator< ( const Foo r)
inline

Definition at line 46 of file testBinHeapPtr.C.

References number, and r.

◆ operator<() [2/2]

bool Foo::operator< ( const Foo  rhs) const
inline

Definition at line 138 of file ah-arena.cc.

References Aleph::divide_and_conquer_partition_dp(), and i.

◆ operator<=()

bool Foo::operator<= ( const Foo r)
inline

Definition at line 51 of file testBinHeapPtr.C.

References number, and r.

◆ operator=() [1/4]

Foo & Foo::operator= ( const Foo f)
inline

Definition at line 52 of file test-memarray.C.

References ptr.

◆ operator=() [2/4]

Foo & Foo::operator= ( const Foo f)
inline

Definition at line 75 of file testQueue.C.

References Aleph::divide_and_conquer_partition_dp(), and ptr.

◆ operator=() [3/4]

Foo & Foo::operator= ( Foo &&  f)
inline

Definition at line 99 of file testQueue.C.

References swap().

◆ operator=() [4/4]

Foo & Foo::operator= ( Foo &&  f)
defaultnoexcept

◆ operator==()

bool Foo::operator== ( const Foo foo) const
inline

Definition at line 175 of file hash_resize.C.

References Aleph::and, foo(), i, and val.

◆ swap()

void Foo::swap ( Foo f)
inline

Definition at line 44 of file testQueue.C.

References ptr.

Referenced by operator=().

Friends And Related Symbol Documentation

◆ operator<<

ostream & operator<< ( ostream &  s,
const Foo foo 
)
friend

Definition at line 61 of file test-emplace.C.

Member Data Documentation

◆ a

string Foo::a = "hello world"

Definition at line 36 of file test-odhash.cc.

◆ data_ptr

string* Foo::data_ptr = nullptr

Definition at line 120 of file ah-arena.cc.

Referenced by ~Foo().

◆ f1

int Foo::f1 = -1

Definition at line 46 of file test-emplace.C.

◆ f2

string Foo::f2 = "hello"

Definition at line 47 of file test-emplace.C.

◆ f3

float Foo::f3 = 0

Definition at line 48 of file test-emplace.C.

◆ i

int Foo::i = -1

Definition at line 170 of file hash_resize.C.

Referenced by Foo(), operator<(), operator==(), and TEST_F().

◆ number

int Foo::number

Definition at line 42 of file testBinHeapPtr.C.

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

◆ ptr [1/2]

std::unique_ptr<int> Foo::ptr

Definition at line 42 of file test-memarray.C.

Referenced by Foo(), Foo(), Foo(), Foo(), ~Foo(), operator int(), operator=(), and swap().

◆ ptr [2/2]

int* Foo::ptr

Definition at line 42 of file testQueue.C.

◆ val

string Foo::val

Definition at line 169 of file hash_resize.C.

Referenced by operator==().


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