Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
utility::fixedsizearray0< T, S > Class Template Reference

#include <fixedsizearray0.hh>

Public Types

typedef platform::Size Size
 
typedef platform::SSize SSize
 
typedef T value_type
 
typedef std::array< T, S >
::iterator 
iterator
 
typedef std::array< T, S >
::const_iterator 
const_iterator
 

Public Member Functions

 fixedsizearray0 ()
 Constructors and the assigmnet operator. More...
 
 fixedsizearray0 (value_type const &def)
 
 fixedsizearray0 (std::initializer_list< T > const &source)
 initializer list construction More...
 
fixedsizearray0< T, S > const & operator= (value_type const &val)
 Full-array assignment. More...
 
value_typeoperator[] (Size index)
 Mutators and accessors. More...
 
value_type const & operator[] (Size index) const
 
bool operator== (fixedsizearray0< T, S > const &other) const
 
Size size () const
 
iterator begin ()
 Iterators. More...
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Protected Member Functions

bool range (Size index) const
 

Private Attributes

std::array< T, Sarray_
 Data. More...
 

Detailed Description

template<typename T, platform::Size S>
class utility::fixedsizearray0< T, S >

Requirements: S must be a positive integer T must be default constructable.

Member Typedef Documentation

template<typename T, platform::Size S>
typedef std::array<T,S>::const_iterator utility::fixedsizearray0< T, S >::const_iterator
template<typename T, platform::Size S>
typedef std::array<T,S>::iterator utility::fixedsizearray0< T, S >::iterator
template<typename T, platform::Size S>
typedef platform::Size utility::fixedsizearray0< T, S >::Size
template<typename T, platform::Size S>
typedef platform::SSize utility::fixedsizearray0< T, S >::SSize
template<typename T, platform::Size S>
typedef T utility::fixedsizearray0< T, S >::value_type

Constructor & Destructor Documentation

template<typename T, platform::Size S>
utility::fixedsizearray0< T, S >::fixedsizearray0 ( )
inline

Constructors and the assigmnet operator.

References utility::fixedsizearray0< T, S >::array_.

template<typename T, platform::Size S>
utility::fixedsizearray0< T, S >::fixedsizearray0 ( value_type const &  def)
inline
template<typename T, platform::Size S>
utility::fixedsizearray0< T, S >::fixedsizearray0 ( std::initializer_list< T > const &  source)
inline

initializer list construction

References utility::fixedsizearray0< T, S >::array_, and make_symmdef_file_denovo::pos.

Member Function Documentation

template<typename T, platform::Size S>
iterator utility::fixedsizearray0< T, S >::begin ( )
inline
template<typename T, platform::Size S>
const_iterator utility::fixedsizearray0< T, S >::begin ( ) const
inline
template<typename T, platform::Size S>
iterator utility::fixedsizearray0< T, S >::end ( )
inline
template<typename T, platform::Size S>
const_iterator utility::fixedsizearray0< T, S >::end ( ) const
inline
template<typename T, platform::Size S>
fixedsizearray0< T, S > const& utility::fixedsizearray0< T, S >::operator= ( value_type const &  val)
inline

Full-array assignment.

References utility::fixedsizearray0< T, S >::array_.

template<typename T, platform::Size S>
bool utility::fixedsizearray0< T, S >::operator== ( fixedsizearray0< T, S > const &  other) const
inline
template<typename T, platform::Size S>
value_type& utility::fixedsizearray0< T, S >::operator[] ( Size  index)
inline
template<typename T, platform::Size S>
value_type const& utility::fixedsizearray0< T, S >::operator[] ( Size  index) const
inline
template<typename T, platform::Size S>
bool utility::fixedsizearray0< T, S >::range ( Size  index) const
inlineprotected
template<typename T, platform::Size S>
Size utility::fixedsizearray0< T, S >::size ( ) const
inline

Member Data Documentation

template<typename T, platform::Size S>
std::array< T, S > utility::fixedsizearray0< T, S >::array_
private

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