| 
									
										
										
										
											2014-05-07 10:05:59 +08:00
										 |  |  | /* ----------------------------------------------------------------------------
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  * GTSAM Copyright 2010, Georgia Tech Research Corporation, | 
					
						
							|  |  |  |  * Atlanta, Georgia 30332-0415 | 
					
						
							|  |  |  |  * All Rights Reserved | 
					
						
							|  |  |  |  * Authors: Frank Dellaert, et al. (see THANKS for the full author list) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  * See LICENSE for the license information | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  * -------------------------------------------------------------------------- */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /**
 | 
					
						
							|  |  |  |  * @file     print_examples.h | 
					
						
							|  |  |  |  * @brief    Example library file | 
					
						
							|  |  |  |  * @author   Richard Roberts | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-18 00:15:10 +08:00
										 |  |  | #include <iostream>
 | 
					
						
							| 
									
										
										
										
											2014-05-07 10:05:59 +08:00
										 |  |  | #include <string>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace example { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class PrintExamples { | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  |   /// Print a greeting
 | 
					
						
							|  |  |  |   void sayHello() const; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   /// Print a farewell
 | 
					
						
							|  |  |  |   void sayGoodbye() const; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace internal { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | std::string getHelloString(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | std::string getGoodbyeString(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace internal
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace example
 |