Libosmium  2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
osmium::ChangesetComment Class Reference

#include <changeset.hpp>

Inheritance diagram for osmium::ChangesetComment:
Inheritance graph
[legend]
Collaboration diagram for osmium::ChangesetComment:
Collaboration graph
[legend]

Public Member Functions

 ChangesetComment (osmium::Timestamp date, osmium::user_id_type uid) noexcept
 
 ChangesetComment (const ChangesetComment &)=delete
 
ChangesetCommentoperator= (const ChangesetComment &)=delete
 
 ChangesetComment (ChangesetComment &&)=delete
 
ChangesetCommentoperator= (ChangesetComment &&)=delete
 
 ~ChangesetComment () noexcept=default
 
osmium::Timestamp date () const noexcept
 
osmium::user_id_type uid () const noexcept
 
const char * user () const noexcept
 
const char * text () const noexcept
 

Static Public Attributes

static constexpr item_type collection_type = item_type::changeset_discussion
 

Private Member Functions

unsigned char * endpos ()
 
const unsigned char * endpos () const
 
unsigned char * next ()
 
const unsigned char * next () const
 
void set_user_size (string_size_type size) noexcept
 
void set_text_size (changeset_comment_size_type size) noexcept
 

Private Attributes

osmium::Timestamp m_date
 
osmium::user_id_type m_uid = 0
 
changeset_comment_size_type m_text_size = 0
 
string_size_type m_user_size = 0
 

Friends

class osmium::builder::ChangesetDiscussionBuilder
 
template<typename TMember >
class osmium::memory::CollectionIterator
 

Constructor & Destructor Documentation

◆ ChangesetComment() [1/3]

osmium::ChangesetComment::ChangesetComment ( osmium::Timestamp  date,
osmium::user_id_type  uid 
)
inlinenoexcept

◆ ChangesetComment() [2/3]

osmium::ChangesetComment::ChangesetComment ( const ChangesetComment )
delete

◆ ChangesetComment() [3/3]

osmium::ChangesetComment::ChangesetComment ( ChangesetComment &&  )
delete

◆ ~ChangesetComment()

osmium::ChangesetComment::~ChangesetComment ( )
defaultnoexcept

Member Function Documentation

◆ date()

osmium::Timestamp osmium::ChangesetComment::date ( ) const
inlinenoexcept

◆ endpos() [1/2]

unsigned char * osmium::ChangesetComment::endpos ( )
inlineprivate

◆ endpos() [2/2]

const unsigned char * osmium::ChangesetComment::endpos ( ) const
inlineprivate

◆ next() [1/2]

unsigned char * osmium::ChangesetComment::next ( )
inlineprivate

◆ next() [2/2]

const unsigned char * osmium::ChangesetComment::next ( ) const
inlineprivate

◆ operator=() [1/2]

ChangesetComment & osmium::ChangesetComment::operator= ( ChangesetComment &&  )
delete

◆ operator=() [2/2]

ChangesetComment & osmium::ChangesetComment::operator= ( const ChangesetComment )
delete

◆ set_text_size()

void osmium::ChangesetComment::set_text_size ( changeset_comment_size_type  size)
inlineprivatenoexcept

◆ set_user_size()

void osmium::ChangesetComment::set_user_size ( string_size_type  size)
inlineprivatenoexcept

◆ text()

const char * osmium::ChangesetComment::text ( ) const
inlinenoexcept

◆ uid()

osmium::user_id_type osmium::ChangesetComment::uid ( ) const
inlinenoexcept

◆ user()

const char * osmium::ChangesetComment::user ( ) const
inlinenoexcept

Friends And Related Function Documentation

◆ osmium::builder::ChangesetDiscussionBuilder

◆ osmium::memory::CollectionIterator

template<typename TMember >
friend class osmium::memory::CollectionIterator
friend

Member Data Documentation

◆ collection_type

constexpr item_type osmium::ChangesetComment::collection_type = item_type::changeset_discussion
staticconstexpr

◆ m_date

osmium::Timestamp osmium::ChangesetComment::m_date
private

◆ m_text_size

changeset_comment_size_type osmium::ChangesetComment::m_text_size = 0
private

◆ m_uid

osmium::user_id_type osmium::ChangesetComment::m_uid = 0
private

◆ m_user_size

string_size_type osmium::ChangesetComment::m_user_size = 0
private

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