#include <TestClass.h>
Definition at line 493 of file TestClass.h.
◆ TCvecPtr() [1/2]
◆ TCvecPtr() [2/2]
| TCvecPtr::TCvecPtr |
( |
const int | i | ) |
|
|
inline |
Definition at line 499 of file TestClass.h.
500
501 }
struct _Set Set
Represents a set of values.
◆ ~TCvecPtr()
Definition at line 509 of file TestClass.h.
509 {
511 for (
int j=0; j<siz; j++)
delete my_ptrint.at(j);
512 }
std::vector< int * > my_ptrint
◆ getKey()
| std::string TCvecPtr::getKey |
( |
| ) |
const |
|
inlinevirtual |
◆ isEqual()
| bool TCvecPtr::isEqual |
( |
const TestClass * | otherobj | ) |
const |
|
inlinevirtual |
Implements TestClass.
Definition at line 528 of file TestClass.h.
528 {
529
531 for(
unsigned int j=0; j<
my_ptrint.size(); j++){
532 if(
tc->my_ptrint.at(j)){
533
534 }
535 else{
536 return false;
537 }
538 }
539 return true;
540 }
◆ print()
| void TCvecPtr::print |
( |
| ) |
const |
|
inlinevirtual |
Implements TestClass.
Definition at line 514 of file TestClass.h.
514 {
515 std::cout <<
"Output::"<<
getKey() <<
" vector of pointer to integers: ";
517
518 for (
int i=0;
i<maxsiz;
i++)
520 std::cout << std::endl;
521 }
std::string getKey() const
◆ Set()
| void TCvecPtr::Set |
( |
const int | i | ) |
|
|
inline |
Definition at line 503 of file TestClass.h.
503 {
504 for (
int j=0; j<
i; j++){
506 }
507 }
◆ key
| std::string TestClass::key |
|
inherited |
◆ my_ptrint
| std::vector<int*> TCvecPtr::my_ptrint |
The documentation for this class was generated from the following file: