CARLA
Namespaces | Typedefs | Functions
test/Buffer.h File Reference
#include <carla/Buffer.h>
#include <algorithm>
#include <memory>
#include <ostream>
#include <string>
+ Include dependency graph for test/Buffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carla
 This file contains definitions of common data structures used in traffic manager.
 
 util
 
 util::buffer
 

Typedefs

using util::buffer::const_shared_buffer = std::shared_ptr< const Buffer >
 
using util::buffer::shared_buffer = std::shared_ptr< Buffer >
 

Functions

static std::string util::buffer::as_string (const Buffer &buf)
 
template<typename T >
static shared_buffer util::buffer::make (const T &buffer)
 
static shared_buffer util::buffer::make_empty (size_t size=0u)
 
shared_buffer util::buffer::make_random (size_t size)
 
static bool carla::operator!= (const Buffer &lhs, const Buffer &rhs)
 
static std::ostream & carla::operator<< (std::ostream &out, const Buffer &buf)
 
static bool carla::operator== (const Buffer &lhs, const Buffer &rhs)
 
std::string util::buffer::to_hex_string (const Buffer &buf, size_t length)