Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Counter Class Reference

#include <sample4.h>

Public Member Functions

 Counter ()
 
int Increment ()
 
int Decrement ()
 
void Print () const
 

Private Attributes

int counter_
 

Detailed Description

Definition at line 35 of file sample4.h.

Constructor & Destructor Documentation

Counter::Counter ( )
inline

Definition at line 41 of file sample4.h.

Member Function Documentation

int Counter::Increment ( )

Definition at line 37 of file sample4.cc.

int Counter::Decrement ( )

Definition at line 43 of file sample4.cc.

void Counter::Print ( ) const

Definition at line 52 of file sample4.cc.

Member Data Documentation

int Counter::counter_
private

Definition at line 37 of file sample4.h.


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