OKlibrary  0.2.1.6
OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation > Class Template Reference

Extends the include directives from a range of program representations according to a range of prefixes. More...

#include <IncludeHandling.hpp>

List of all members.

Public Types

typedef ReferenceRange reference_range_type
typedef WorkingRange work_range_type
typedef UniquenessPolicy uniqueness_policy_type
typedef HandleProgramRepresentation program_representation_strategy_type
typedef boost::range_value
< reference_range_type >::type 
reference_value_type
typedef
OKlib::SearchDataStructures::AssociativePrefixContainer
< reference_value_type
prefix_container_type

Public Member Functions

void operator() (const reference_range_type &ref_range, const work_range_type &work_range, program_representation_strategy_type &prog_strategy) const

Detailed Description

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
class OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >

Extends the include directives from a range of program representations according to a range of prefixes.

Todo:

Write two models for the strategy.

Write a convenience function for the type deduction.

Definition at line 577 of file IncludeHandling.hpp.


Member Typedef Documentation

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef OKlib::SearchDataStructures::AssociativePrefixContainer<reference_value_type> OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::prefix_container_type

Definition at line 592 of file IncludeHandling.hpp.

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef HandleProgramRepresentation OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::program_representation_strategy_type

Definition at line 589 of file IncludeHandling.hpp.

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef ReferenceRange OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::reference_range_type

Definition at line 586 of file IncludeHandling.hpp.

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef boost::range_value<reference_range_type>::type OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::reference_value_type

Definition at line 591 of file IncludeHandling.hpp.

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef UniquenessPolicy OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::uniqueness_policy_type

Definition at line 588 of file IncludeHandling.hpp.

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
typedef WorkingRange OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::work_range_type

Definition at line 587 of file IncludeHandling.hpp.


Member Function Documentation

template<class ReferenceRange, class WorkingRange, class UniquenessPolicy = ThrowIfNonUnique, class HandleProgramRepresentation = OverwriteFiles>
void OKlib::Refactoring::ExtendIncludeDirectivesTwoRanges< ReferenceRange, WorkingRange, UniquenessPolicy, HandleProgramRepresentation >::operator() ( const reference_range_type ref_range,
const work_range_type work_range,
program_representation_strategy_type prog_strategy 
) const [inline]

Definition at line 596 of file IncludeHandling.hpp.

References Latex_Handler::begin(), and end.


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