reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofBuffer::Line Struct Reference

#include <ofFileUtils.h>

Public Types

using value_type = std::string
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using pointer = const value_type *
 
using reference = const value_type &
 

Public Member Functions

 Line (std::vector< char >::iterator _begin, std::vector< char >::iterator _end)
 
const std::string & operator* () const
 
const std::string * operator-> () const
 
const std::string & asString () const
 
Lineoperator++ ()
 Increment to the next line.
 
Line operator++ (int)
 Increment to a number of lines.
 
bool operator!= (Line const &rhs) const
 
bool operator== (Line const &rhs) const
 
bool empty () const
 Is this line empty? (aka an empty string "")
 

Detailed Description

A line of text in the buffer.

Member Typedef Documentation

◆ difference_type

using ofBuffer::Line::difference_type = std::ptrdiff_t

◆ iterator_category

using ofBuffer::Line::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

using ofBuffer::Line::value_type = std::string

Constructor & Destructor Documentation

◆ Line()

ofBuffer::Line::Line ( std::vector< char >::iterator  _begin,
std::vector< char >::iterator  _end 
)

Member Function Documentation

◆ asString()

const std::string & ofBuffer::Line::asString ( ) const

◆ empty()

bool ofBuffer::Line::empty ( ) const

Is this line empty? (aka an empty string "")

◆ operator!=()

bool ofBuffer::Line::operator!= ( Line const &  rhs) const

◆ operator*()

const std::string & ofBuffer::Line::operator* ( ) const

◆ operator++() [1/2]

ofBuffer::Line & ofBuffer::Line::operator++ ( )

Increment to the next line.

◆ operator++() [2/2]

ofBuffer::Line ofBuffer::Line::operator++ ( int  )

Increment to a number of lines.

◆ operator->()

const std::string * ofBuffer::Line::operator-> ( ) const

◆ operator==()

bool ofBuffer::Line::operator== ( Line const &  rhs) const

The documentation for this struct was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofFileUtils.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofFileUtils.cpp