OKlibrary
0.2.1.6
|
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 |
Tools for refactoring C++ code.
Definition at line 75 of file IncludeHandling.hpp.
std::ostream& OKlib::Refactoring::operator<< | ( | std::ostream & | out, |
const IncludeDirective< String > & | include_directive | ||
) | [inline] |
Definition at line 155 of file IncludeHandling.hpp.
bool OKlib::Refactoring::operator== | ( | const IncludeDirective< String > & | lhs, |
const IncludeDirective< String > & | rhs | ||
) | [inline] |
Definition at line 161 of file IncludeHandling.hpp.
References OKlib::Refactoring::IncludeDirective< String >::header_file(), OKlib::Refactoring::IncludeDirective< String >::include_form(), OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_hash(), and OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_include().
std::istream& OKlib::Refactoring::operator>> | ( | std::istream & | in, |
ProgramRepresentationIncludes< charT, traits, Allocator > & | pr | ||
) |
Definition at line 421 of file IncludeHandling.hpp.
class class OKlib::Refactoring::Allocator |
Definition at line 180 of file IncludeHandling.hpp.
Definition at line 17 of file IncludeHandling_Testobjects.hpp.
Test_ExtendIncludeDirectivesTwoDirectories<ExtendIncludeDirectivesTwoDirectories> OKlib::Refactoring::test_extend_include_directives_two_directories |
Definition at line 25 of file IncludeHandling_Testobjects.hpp.
Definition at line 18 of file IncludeHandling_Testobjects.hpp.
Definition at line 19 of file IncludeHandling_Testobjects.hpp.
Test_Parsing<ProgramRepresentationIncludes, StreamExtractor_by_copy> OKlib::Refactoring::test_parsing_copy |
Definition at line 22 of file IncludeHandling_Testobjects.hpp.
Test_Parsing<ProgramRepresentationIncludes, StreamExtractor_by_istream_iterator> OKlib::Refactoring::test_parsing_istream_iterator |
Definition at line 21 of file IncludeHandling_Testobjects.hpp.