testTrace.cpp File Reference

#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include "DGtal/base/Config.h"
#include "DGtal/base/Common.h"
Include dependency graph for testTrace.cpp:


void testSimple ()
void testIndent ()
void testFileStream ()
int main ()

Detailed Description

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

David Coeurjolly ( )

This file is part of the DGtal library

Function Documentation

int main (  ) 
void testFileStream (  ) 

We test the Trace class on file stream.

a file "example.txt" must have been created with the traces.

References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::Trace::info(), DGtal::trace, and DGtal::Trace::warning().

Referenced by main().

void testIndent (  ) 
void testSimple (  )