OKlibrary  0.2.1.6
OKlib::Refactoring Namespace Reference

Tools for refactoring C++ code. More...

Namespaces

namespace  traits

Classes

class  IncludeDirective
 Representation of one include directive. More...
class  IncludeParsingGrammar
 Defines grammar of a C++ program as far as necessary for parsing include directives in a file. More...
class  StreamExtractor_by_istream_iterator
 Functor class for extracting include directives from input streams, using multipass-iterator-wrappers around istream-iterators. More...
class  StreamExtractor_by_copy
 Functor class for extracting include directives from input streams, copying the stream content. More...
struct  NonUniqueExtension
struct  NoExtension
struct  ThrowIfNonUnique
class  ExtendIncludeDirectives
 Functor for adding suitable prefixes to the include directives of an istream. More...
struct  OverwriteFiles
struct  CheckTranslation
class  ExtendIncludeDirectivesTwoRanges
 Extends the include directives from a range of program representations according to a range of prefixes. More...
class  ExtendIncludeDirectivesTwoDirectories
class  BaseTestData
 Provides typedefs common to both IncludeDirectiveTestData, PrefixTestData and ProgramTestData. More...
class  IncludeDirectiveTestData
 Provides data for include directives in flat directory directory structure and deep directory structure. More...
class  PrefixTestData
 Provides string representation of full paths in a reference directory structure. More...
class  ProgramTestData
 Provides string representation of C++ programs before and after transition. More...
class  TestData
 To provide data used by the testing of include handling. More...
class  Test_BoostFilesystemFix
 Testing of fix for erroneous boost::filesystem. More...
class  Test_IncludeDirective
 Testing classes representing one include directive. More...
class  Test_ProgramRepresentationIncludes
 Testing classes for representing the include-directives within a program. More...
class  Test_IncludeParsingGrammar
 Testing grammars for parsing source code units in order to extract include directives. More...
class  Test_Parsing
 Testing parsing of include directives from an istream. More...
class  Test_ExtendIncludeDirectives
 Test class for functor which handles the extending of include directives in a single file. More...
class  Test_ExtendIncludeDirectivesTwoRanges
 Testing of ExtendIncludeDirectivesTwoRanges. More...
class  Test_ExtendIncludeDirectivesTwoDirectories
 Test class for extending all include directives in files below some working directories with paths relative to a working directory. More...

Enumerations

enum  Include_forms { system_header, source_code_header, undefined_include_form }

Functions

template<class String >
std::ostream & operator<< (std::ostream &out, const IncludeDirective< String > &include_directive)
template<class String >
bool operator== (const IncludeDirective< String > &lhs, const IncludeDirective< String > &rhs)
template<class charT , class traits , class Allocator >
std::istream & operator>> (std::istream &in, ProgramRepresentationIncludes< charT, traits, Allocator > &pr)

Variables

class class Allocator
Test_BoostFilesystemFix test_boost_filesystem_fix
Test_IncludeDirective
< IncludeDirective
test_include_directive
Test_IncludeParsingGrammar
< IncludeParsingGrammar
test_include_parsing_grammar
Test_ProgramRepresentationIncludes
< ProgramRepresentationIncludes
test_program_representation_includes
Test_Parsing
< ProgramRepresentationIncludes,
StreamExtractor_by_istream_iterator
test_parsing_istream_iterator
Test_Parsing
< ProgramRepresentationIncludes,
StreamExtractor_by_copy
test_parsing_copy
Test_ExtendIncludeDirectivesTwoDirectories
< ExtendIncludeDirectivesTwoDirectories
test_extend_include_directives_two_directories

Detailed Description

Tools for refactoring C++ code.


Enumeration Type Documentation

Enumerator:
system_header 
source_code_header 
undefined_include_form 

Definition at line 75 of file IncludeHandling.hpp.


Function Documentation

template<class String >
std::ostream& OKlib::Refactoring::operator<< ( std::ostream &  out,
const IncludeDirective< String > &  include_directive 
) [inline]

Definition at line 155 of file IncludeHandling.hpp.

template<class String >
bool OKlib::Refactoring::operator== ( const IncludeDirective< String > &  lhs,
const IncludeDirective< String > &  rhs 
) [inline]
template<class charT , class traits , class Allocator >
std::istream& OKlib::Refactoring::operator>> ( std::istream &  in,
ProgramRepresentationIncludes< charT, traits, Allocator > &  pr 
)

Definition at line 421 of file IncludeHandling.hpp.


Variable Documentation

Definition at line 180 of file IncludeHandling.hpp.