SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_vector.h File Reference

Simple implementation of a vector class. More...

#include <vector>
#include <iterator>
#include <string>
#include <algorithm>
#include "sysc/kernel/sc_object.h"
#include "sysc/packages/boost/config.hpp"
#include "sysc/packages/boost/utility/enable_if.hpp"
Include dependency graph for sc_vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sc_core::sc_meta::enable_if< Cond, T >
 
struct  sc_core::sc_meta::remove_const< T >
 
struct  sc_core::sc_meta::remove_const< const T >
 
struct  sc_core::sc_meta::is_same< T, U >
 
struct  sc_core::sc_meta::is_same< T, T >
 
struct  sc_core::sc_meta::is_const< T >
 
struct  sc_core::sc_meta::is_const< const T >
 
struct  sc_core::sc_meta::is_more_const< CT, T >
 
struct  sc_core::sc_meta::special_result
 
struct  sc_core::sc_meta::remove_special_fptr< T >
 
struct  sc_core::sc_meta::remove_special_fptr< special_result &(*)(T) >
 
class  sc_core::sc_vector< T >
 
class  sc_core::sc_vector_assembly< T, MT >
 
class  sc_core::sc_vector_iter< ElementType, AccessPolicy >
 
class  sc_core::sc_vector_base
 
class  sc_core::sc_vector_base::context_scope
 
struct  sc_core::sc_direct_access< ElementType >
 
class  sc_core::sc_member_access< ElementType, AccessType >
 
class  sc_core::sc_vector_iter< ElementType, AccessPolicy >
 
class  sc_core::sc_vector< T >
 
class  sc_core::sc_vector_assembly< T, MT >
 

Namespaces

 sc_core
 
 sc_core::sc_meta
 

Macros

#define SC_STATIC_CONSTANT_(Type, Value)   SC_BOOST_STATIC_CONSTANT(Type,Value)
 
#define SC_RPTYPE_(Type)
 
#define SC_ENABLE_IF_(Cond)
 

Functions

template<typename Container , typename ArgumentIterator >
Container::iterator sc_core::sc_vector_do_bind (Container &cont, ArgumentIterator first, ArgumentIterator last, typename Container::iterator from)
 
template<typename Container , typename ArgumentIterator >
Container::iterator sc_core::sc_vector_do_operator_paren (Container &cont, ArgumentIterator first, ArgumentIterator last, typename Container::iterator from)
 
template<typename T , typename MT >
sc_vector_assembly< T, MT > sc_core::sc_assemble_vector (sc_vector< T > &vec, MT(T::*ptr))
 

Detailed Description

Simple implementation of a vector class.

Original Author: Stan Y. Liao, Synopsys, Inc.

CHANGE LOG AT END OF FILE

Definition in file sc_vector.h.

Macro Definition Documentation

◆ SC_ENABLE_IF_

#define SC_ENABLE_IF_ (   Cond)
Value:
typename ::sc_core::sc_meta::enable_if \
< SC_RPTYPE_(Cond) >::type * = NULL
#define SC_RPTYPE_(Type)
Definition: sc_vector.h:102

Definition at line 107 of file sc_vector.h.

◆ SC_RPTYPE_

#define SC_RPTYPE_ (   Type)
Value:
sc_clock period is zero sc_clock low time is zero sc_fifo< T > cannot have more than one writer bind interface to port failed complete binding failed remove port failed insert primitive channel failed sc_signal< T > cannot have more than one driver resolved port not bound to resolved signal sc_semaphore requires an initial value

Definition at line 102 of file sc_vector.h.

◆ SC_STATIC_CONSTANT_

#define SC_STATIC_CONSTANT_ (   Type,
  Value 
)    SC_BOOST_STATIC_CONSTANT(Type,Value)

Definition at line 67 of file sc_vector.h.