test_simple.cpp File Reference

This file was only used for testing during development. More...

#include <iostream>
#include <stdexcept>
#include "Comment.h"
#include "Variable.h"
#include "VariableDef.h"
#include "VariableRef.h"
#include "MakefileItem.h"
#include "Makefile.h"
#include "AutoVariable.h"
#include "Newline.h"
#include "Rule.h"
#include "Conditional.h"
#include "StringAdapter.h"
#include <boost/scoped_ptr.hpp>

Include dependency graph for test_simple.cpp:

Go to the source code of this file.

Functions

int tryall ()
int tryreplace ()
int trymakefile ()
int tryrule ()
int trycond ()
int main (int argc, char *argv[])

Variables

ostreamout = std::cout


Detailed Description

This file was only used for testing during development.

Created on: May 21, 2010

Author:
Florian Achleitner <florian.achleitner.2.6.31@gmail.com>

Definition in file test_simple.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 225 of file test_simple.cpp.

References tryall().

int tryall (  ) 

Definition at line 49 of file test_simple.cpp.

References makefile::Comment::appendLine(), cerr, cstr, makefile::Variable::getDef(), makefile::Variable::getName(), makefile::Variable::getRef(), makefile::Variable::getValue(), out, makefile::Variable::setQuoteMode(), and makefile::VariableRef::toString().

Referenced by main().

int trycond (  ) 

Definition at line 178 of file test_simple.cpp.

References makefile::MakefileItem::add(), makefile::Rule::addCommand(), makefile::Rule::addPrereq(), makefile::Rule::addTarget(), cstr, makefile::Variable::getDef(), makefile::Variable::getName(), makefile::Variable::getRef(), out, and makefile::VariableRef::toString().

int trymakefile (  ) 

Definition at line 125 of file test_simple.cpp.

References makefile::MakefileItem::add(), makefile::Comment::appendLine(), cstr, makefile::Variable::getDef(), makefile::Variable::getRef(), out, and makefile::VariableRef::toString().

int tryreplace (  ) 

Definition at line 107 of file test_simple.cpp.

References cstr, and out.

int tryrule (  ) 

Definition at line 153 of file test_simple.cpp.

References makefile::MakefileItem::add(), makefile::Rule::addCommand(), makefile::Rule::addPrereq(), makefile::Rule::addTarget(), cstr, makefile::Variable::getDef(), makefile::Variable::getRef(), out, makefile::Rule::toString(), and makefile::VariableRef::toString().


Variable Documentation

ostream& out = std::cout

Definition at line 46 of file test_simple.cpp.

Referenced by main(), makefile::operator+(), celeste::svm_load_model(), tryall(), trycond(), trymakefile(), tryreplace(), and tryrule().


Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7