OKlibrary  0.2.1.6
OKlib::Refactoring::IncludeDirective< String > Class Template Reference

Representation of one include directive. More...

#include <IncludeHandling.hpp>

List of all members.

Public Types

typedef String string_type
typedef string_type::size_type size_type

Public Member Functions

 IncludeDirective ()
 IncludeDirective (const string_type &header_file, const size_type number_spaces_after_hash, const size_type number_spaces_after_include, const Include_forms include_form)
 operator boost::filesystem::path () const
const string_type header_file () const
string_typeheader_file ()
size_type number_spaces_after_hash () const
size_typenumber_spaces_after_hash ()
size_type number_spaces_after_include () const
size_typenumber_spaces_after_include ()
const Include_forms include_form () const
Include_formsinclude_form ()
string_type opening () const
string_type closing () const

Detailed Description

template<class String = std::string>
class OKlib::Refactoring::IncludeDirective< String >

Representation of one include directive.

Todo:

A concept is needed.

Test inequality operator.

Definition at line 86 of file IncludeHandling.hpp.


Member Typedef Documentation

template<class String = std::string>
typedef string_type::size_type OKlib::Refactoring::IncludeDirective< String >::size_type

Definition at line 90 of file IncludeHandling.hpp.

template<class String = std::string>
typedef String OKlib::Refactoring::IncludeDirective< String >::string_type

Definition at line 89 of file IncludeHandling.hpp.


Constructor & Destructor Documentation

template<class String = std::string>
OKlib::Refactoring::IncludeDirective< String >::IncludeDirective ( ) [inline]

Definition at line 99 of file IncludeHandling.hpp.

template<class String = std::string>
OKlib::Refactoring::IncludeDirective< String >::IncludeDirective ( const string_type header_file,
const size_type  number_spaces_after_hash,
const size_type  number_spaces_after_include,
const Include_forms  include_form 
) [inline]

Definition at line 101 of file IncludeHandling.hpp.


Member Function Documentation

template<class String = std::string>
string_type OKlib::Refactoring::IncludeDirective< String >::closing ( ) const [inline]

Definition at line 143 of file IncludeHandling.hpp.

template<class String = std::string>
string_type& OKlib::Refactoring::IncludeDirective< String >::header_file ( ) [inline]

Definition at line 112 of file IncludeHandling.hpp.

template<class String = std::string>
const Include_forms OKlib::Refactoring::IncludeDirective< String >::include_form ( ) const [inline]

Definition at line 127 of file IncludeHandling.hpp.

Referenced by OKlib::Refactoring::operator==().

template<class String = std::string>
Include_forms& OKlib::Refactoring::IncludeDirective< String >::include_form ( ) [inline]

Definition at line 130 of file IncludeHandling.hpp.

template<class String = std::string>
size_type OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_hash ( ) const [inline]

Definition at line 115 of file IncludeHandling.hpp.

Referenced by OKlib::Refactoring::operator==().

template<class String = std::string>
size_type& OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_hash ( ) [inline]

Definition at line 118 of file IncludeHandling.hpp.

template<class String = std::string>
size_type OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_include ( ) const [inline]

Definition at line 121 of file IncludeHandling.hpp.

Referenced by OKlib::Refactoring::operator==().

template<class String = std::string>
size_type& OKlib::Refactoring::IncludeDirective< String >::number_spaces_after_include ( ) [inline]

Definition at line 124 of file IncludeHandling.hpp.

template<class String = std::string>
string_type OKlib::Refactoring::IncludeDirective< String >::opening ( ) const [inline]

Definition at line 134 of file IncludeHandling.hpp.

template<class String = std::string>
OKlib::Refactoring::IncludeDirective< String >::operator boost::filesystem::path ( ) const [inline]

Definition at line 105 of file IncludeHandling.hpp.


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