Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::attributes::named_scope_entry Struct Reference

The structure contains all information about a named scope. More...

#include <named_scope.hpp>

Public Types

enum  scope_name_type {
  general,
  function
}
 Scope entry type. More...
 

Public Member Functions

 named_scope_entry (string_literal const &sn, string_literal const &fn, unsigned int ln, scope_name_type t=general) BOOST_NOEXCEPT
 Initializing constructor. More...
 

Public Attributes

string_literal scope_name
 The scope name (e.g. More...
 
string_literal file_name
 The source file name. More...
 
unsigned int line
 The line number in the source file. More...
 
scope_name_type type
 The scope name type. More...
 

Detailed Description

The structure contains all information about a named scope.

The named scope entries are stored as elements of basic_named_scope_list container, which in turn can be acquired either from the basic_named_scope attribute value or from a thread-local instance.

Member Enumeration Documentation

Scope entry type.

Describes scope name specifics

Enumerator
general 

The scope name contains some unstructured string that should not be interpreted by the library.

function 

The scope name contains a function signature.

Constructor & Destructor Documentation

boost::attributes::named_scope_entry::named_scope_entry ( string_literal const &  sn,
string_literal const &  fn,
unsigned int  ln,
scope_name_type  t = general 
)
inline

Initializing constructor.

Postcondition
scope_name == sn && file_name == fn && line == ln

Throws: Nothing.

Member Data Documentation

string_literal boost::attributes::named_scope_entry::file_name

The source file name.

unsigned int boost::attributes::named_scope_entry::line

The line number in the source file.

string_literal boost::attributes::named_scope_entry::scope_name

The scope name (e.g.

a function signature)

scope_name_type boost::attributes::named_scope_entry::type

The scope name type.


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