Dummy.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
21 #include <iostream>
22 
23 namespace gtsam {
24 
25 static size_t gDummyCount = 0;
26 
28  std::cout << "Dummy constructor " << id << std::endl;
29 }
30 
32  std::cout << "Dummy destructor " << id << std::endl;
33 }
34 
35 void Dummy::print(const std::string& s) const {
36  std::cout << s << "Dummy " << id << std::endl;
37 }
38 
39 unsigned char Dummy::dummyTwoVar(unsigned char a) const {
40  return a;
41 }
42 
43 }
s
RealScalar s
Definition: level1_cplx_impl.h:126
id
static const Similarity3 id
Definition: testSimilarity3.cpp:44
gtsam::Dummy::Dummy
Dummy()
Definition: Dummy.cpp:27
Dummy.h
Dummy class for testing MATLAB memory allocation.
gtsam::Dummy::print
void print(const std::string &s="") const
Definition: Dummy.cpp:35
gtsam::Dummy::~Dummy
~Dummy()
Definition: Dummy.cpp:31
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
gtsam
traits
Definition: SFMdata.h:40
gtsam::Dummy::dummyTwoVar
unsigned char dummyTwoVar(unsigned char a) const
Definition: Dummy.cpp:39
gtsam::gDummyCount
static size_t gDummyCount
Definition: Dummy.cpp:25


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:29