ProteoWizard
Classes | Functions
std Namespace Reference

STL namespace. More...

Classes

class  allocator
 STL class.
 
class  array
 STL class.
 
class  atomic
 STL class.
 
class  atomic_ref
 STL class.
 
class  auto_ptr
 STL class.
 
class  bad_alloc
 STL class.
 
class  bad_cast
 STL class.
 
class  bad_exception
 STL class.
 
class  bad_typeid
 STL class.
 
class  basic_fstream
 STL class.
 
class  basic_ifstream
 STL class.
 
class  basic_ios
 STL class.
 
class  basic_iostream
 STL class.
 
class  basic_istream
 STL class.
 
class  basic_istringstream
 STL class.
 
class  basic_ofstream
 STL class.
 
class  basic_ostream
 STL class.
 
class  basic_ostringstream
 STL class.
 
class  basic_string
 STL class.
 
class  basic_string_view
 STL class.
 
class  basic_stringstream
 STL class.
 
class  bitset
 STL class.
 
class  complex
 STL class.
 
class  deque
 STL class.
 
class  domain_error
 STL class.
 
class  error_category
 STL class.
 
class  error_code
 STL class.
 
class  error_condition
 STL class.
 
class  exception
 STL class.
 
class  forward_list
 STL class.
 
class  fstream
 STL class.
 
class  ifstream
 STL class.
 
class  invalid_argument
 STL class.
 
class  ios
 STL class.
 
class  ios_base
 STL class.
 
class  istream
 STL class.
 
class  istringstream
 STL class.
 
class  jthread
 STL class.
 
class  length_error
 STL class.
 
class  list
 STL class.
 
class  lock_guard
 STL class.
 
class  logic_error
 STL class.
 
class  map
 STL class.
 
class  multimap
 STL class.
 
class  multiset
 STL class.
 
class  mutex
 STL class.
 
class  ofstream
 STL class.
 
class  ostream
 STL class.
 
class  ostringstream
 STL class.
 
class  out_of_range
 STL class.
 
class  overflow_error
 STL class.
 
class  priority_queue
 STL class.
 
class  queue
 STL class.
 
class  range_error
 STL class.
 
class  recursive_mutex
 STL class.
 
class  recursive_timed_mutex
 STL class.
 
class  runtime_error
 STL class.
 
class  set
 STL class.
 
class  shared_lock
 STL class.
 
class  shared_mutex
 STL class.
 
class  shared_ptr
 STL class.
 
class  shared_timed_mutex
 STL class.
 
class  smart_ptr
 STL class.
 
class  span
 STL class.
 
class  stack
 STL class.
 
class  string
 STL class.
 
class  string_view
 STL class.
 
class  stringstream
 STL class.
 
class  system_error
 STL class.
 
class  thread
 STL class.
 
class  timed_mutex
 STL class.
 
class  u16string
 STL class.
 
class  u16string_view
 STL class.
 
class  u32string
 STL class.
 
class  u32string_view
 STL class.
 
class  u8string
 STL class.
 
class  u8string_view
 STL class.
 
class  underflow_error
 STL class.
 
class  unique_lock
 STL class.
 
class  unique_ptr
 STL class.
 
class  unordered_map
 STL class.
 
class  unordered_multimap
 STL class.
 
class  unordered_multiset
 STL class.
 
class  unordered_set
 STL class.
 
class  valarray
 STL class.
 
class  vector
 STL class.
 
class  weak_ptr
 STL class.
 
class  wfstream
 STL class.
 
class  wifstream
 STL class.
 
class  wios
 STL class.
 
class  wistream
 STL class.
 
class  wistringstream
 STL class.
 
class  wofstream
 STL class.
 
class  wostream
 STL class.
 
class  wostringstream
 STL class.
 
class  wstring
 STL class.
 
class  wstring_view
 STL class.
 
class  wstringstream
 STL class.
 

Functions

ostream & operator<< (ostream &os, SpectrumListCache::CacheType &cache)
 
ostream & operator<< (ostream &os, const ProteinListCache::CacheType &cache)
 
template<typename T >
void swap (pwiz::util::BinaryData< T > &lhs, std::vector< T > &rhs)
 
template<typename T >
void swap (std::vector< T > &lhs, pwiz::util::BinaryData< T > &rhs)
 
template<typename T1 , typename T2 >
ostream & operator<< (ostream &o, const pair< T1, T2 > &p)
 
template<typename T >
ostream & operator<< (ostream &o, const vector< T > &v)
 
template<typename T , typename P >
ostream & operator<< (ostream &o, const set< T, P > &s)
 
ostream & operator<< (ostream &o, const map< string, string > &m)
 
template<typename KeyT >
ostream & operator<< (ostream &o, const map< KeyT, string > &m)
 
template<typename ValueT >
ostream & operator<< (ostream &o, const map< string, ValueT > &m)
 
template<typename KeyT , typename ValueT >
ostream & operator<< (ostream &o, const map< KeyT, ValueT > &m)
 

Detailed Description

STL namespace.

Function Documentation

◆ operator<<() [1/9]

ostream & std::operator<< ( ostream &  os,
SpectrumListCache::CacheType cache 
)

Definition at line 42 of file SpectrumListCacheTest.cpp.

43{
44 os << "Spectrum cache indices (from MRU to LRU):";
45 for (SpectrumListCache::CacheType::iterator itr = cache.begin(); itr != cache.end(); ++itr)
46 os << " " << itr->spectrum->index;
47 return os;
48}

References pwiz::util::mru_list< Item, KeyExtractor >::begin(), and pwiz::util::mru_list< Item, KeyExtractor >::end().

◆ operator<<() [2/9]

ostream & std::operator<< ( ostream &  os,
const ProteinListCache::CacheType cache 
)

Definition at line 38 of file ProteinListCacheTest.cpp.

39{
40 os << "Protein cache indices (from MRU to LRU):";
41 for (ProteinListCache::CacheType::const_iterator itr = cache.begin(); itr != cache.end(); ++itr)
42 os << " " << itr->second->index;
43 return os;
44}

References pwiz::util::mru_list< Item, KeyExtractor >::begin(), and pwiz::util::mru_list< Item, KeyExtractor >::end().

◆ swap() [1/2]

template<typename T >
void std::swap ( pwiz::util::BinaryData< T > &  lhs,
std::vector< T > &  rhs 
)
protected

Definition at line 414 of file BinaryData.hpp.

414{ lhs.swap(rhs); }
void swap(BinaryData &that)

References pwiz::util::BinaryData< T >::swap(), and swap().

Referenced by msclr::pinned_gcroot< T >::swap(), swap(), swap(), and test().

◆ swap() [2/2]

template<typename T >
void std::swap ( std::vector< T > &  lhs,
pwiz::util::BinaryData< T > &  rhs 
)
protected

Definition at line 415 of file BinaryData.hpp.

415{ rhs.swap(lhs); }

References pwiz::util::BinaryData< T >::swap(), and swap().

◆ operator<<() [3/9]

template<typename T1 , typename T2 >
ostream & std::operator<< ( ostream &  o,
const pair< T1, T2 > &  p 
)

Definition at line 84 of file Container.hpp.

85 {
86 return (o << "( " << p.first << ", " << p.second << " )");
87 }

◆ operator<<() [4/9]

template<typename T >
ostream & std::operator<< ( ostream &  o,
const vector< T > &  v 
)

Definition at line 90 of file Container.hpp.

91 {
92 o << "(";
93 for(const auto& i : v)
94 o << " " << i;
95 o << " )";
96
97 return o;
98 }

◆ operator<<() [5/9]

template<typename T , typename P >
ostream & std::operator<< ( ostream &  o,
const set< T, P > &  s 
)

Definition at line 101 of file Container.hpp.

102 {
103 o << "(";
104 for (const auto& i : s)
105 o << " " << i;
106 o << " )";
107
108 return o;
109 }

◆ operator<<() [6/9]

ostream & std::operator<< ( ostream &  o,
const map< string, string > &  m 
)
inline

Definition at line 111 of file Container.hpp.

112 {
113 o << "(";
114 for (const auto& p : m)
115 o << " \"" << p.first << "\"->\"" << p.second << "\"";
116 o << " )";
117
118 return o;
119 }

◆ operator<<() [7/9]

template<typename KeyT >
ostream & std::operator<< ( ostream &  o,
const map< KeyT, string > &  m 
)

Definition at line 122 of file Container.hpp.

123 {
124 o << "(";
125 for (const auto& p : m)
126 o << " " << p.first << "->\"" << p.second << "\"";
127 o << " )";
128
129 return o;
130 }

◆ operator<<() [8/9]

template<typename ValueT >
ostream & std::operator<< ( ostream &  o,
const map< string, ValueT > &  m 
)

Definition at line 133 of file Container.hpp.

134 {
135 o << "(";
136 for (const auto& p : m)
137 o << " \"" << p.first << "\"->" << p.second << "";
138 o << " )";
139
140 return o;
141 }

◆ operator<<() [9/9]

template<typename KeyT , typename ValueT >
ostream & std::operator<< ( ostream &  o,
const map< KeyT, ValueT > &  m 
)

Definition at line 144 of file Container.hpp.

145 {
146 o << "(";
147 for (const auto& p : m)
148 o << " " << p.first << "->" << p.second << "";
149 o << " )";
150
151 return o;
152 }