Vcsn  2.2
Be Rational
vcsn::signature Struct Reference

Signature of a function call. More...

#include <signature.hh>

Collaboration diagram for vcsn::signature:

Public Types

using sig_t = std::vector< symbol >
 

Public Member Functions

 signature ()=default
 
 signature (std::initializer_list< symbol > l)
 
std::string to_string () const
 
ATTRIBUTE_PURE bool operator< (const signature &that) const
 
ATTRIBUTE_PURE bool operator== (const signature &that) const
 
sig_t::const_iterator begin () const
 
sig_t::const_iterator end () const
 
symboloperator[] (const size_t n)
 
const symbol operator[] (const size_t n) const
 
size_t size () const
 

Public Attributes

sig_t sig
 

Detailed Description

Signature of a function call.

Definition at line 15 of file signature.hh.

Member Typedef Documentation

using vcsn::signature::sig_t = std::vector<symbol>

Definition at line 17 of file signature.hh.

Constructor & Destructor Documentation

vcsn::signature::signature ( )
default
vcsn::signature::signature ( std::initializer_list< symbol l)
inline

Definition at line 21 of file signature.hh.

Member Function Documentation

sig_t::const_iterator vcsn::signature::begin ( ) const
inline

Definition at line 39 of file signature.hh.

References sig.

sig_t::const_iterator vcsn::signature::end ( ) const
inline

Definition at line 44 of file signature.hh.

References sig.

ATTRIBUTE_PURE bool vcsn::signature::operator< ( const signature that) const
inline

Definition at line 28 of file signature.hh.

References sig.

ATTRIBUTE_PURE bool vcsn::signature::operator== ( const signature that) const
inline

Definition at line 34 of file signature.hh.

References sig.

symbol& vcsn::signature::operator[] ( const size_t  n)
inline

Definition at line 49 of file signature.hh.

References sig.

const symbol vcsn::signature::operator[] ( const size_t  n) const
inline

Definition at line 54 of file signature.hh.

References sig.

size_t vcsn::signature::size ( ) const
inline

Definition at line 59 of file signature.hh.

References sig.

std::string vcsn::signature::to_string ( ) const

Definition at line 9 of file signature.cc.

References os.

Referenced by vcsn::dyn::detail::Registry< Fun >::signatures().

Member Data Documentation


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