libfacade 1.1
A library for manipulating PNG images with payloads.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
facade::png::End Class Reference

The end chunk for a given PNG file. More...

#include <png.hpp>

Inheritance diagram for facade::png::End:
facade::png::ChunkVec

Public Member Functions

 End ()
 
 End (const End &other)
 
- Public Member Functions inherited from facade::png::ChunkVec
 ChunkVec (const ChunkTag tag)
 
 ChunkVec (const ChunkTag tag, const void *ptr, std::size_t size)
 
 ChunkVec (const ChunkTag tag, const std::vector< std::uint8_t > &data)
 
 ChunkVec (const ChunkVec &other)
 
bool operator== (const ChunkVec &other) const
 
std::size_t length () const
 Return the length of this chunk's data.
 
ChunkTagtag ()
 Return the chunk tag reference associated with this chunk.
 
const ChunkTagtag () const
 Return a const chunk tag reference associated with this chunk.
 
std::vector< std::uint8_t > & data ()
 Return the chunk data reference associated with this chunk.
 
const std::vector< std::uint8_t > & data () const
 Return const chunk data reference associated with this chunk.
 
void set_data (std::vector< std::uint8_t > &data)
 Set the chunk data for this chunk.
 
std::uint32_t crc () const
 Calculate the CRC value of this chunk.
 
std::pair< std::vector< std::uint8_t >, ChunkPtrto_chunk_ptr () const
 Convert this ChunkVec to a facade::png::ChunkPtr.
 
template<typename T >
T & upcast ()
 Create a reference to a higher-level ChunkVec object, such as facade::png::Header.
 
template<typename T >
const T & upcast () const
 Create a const reference to a higher-level ChunkVec object, such as facade::png::Header.
 
ChunkVecas_chunk_vec ()
 Interpret this ChunkVec derivative as a ChunkVec object.
 
const ChunkVecas_chunk_vec () const
 Interpret this ChunkVec derivative as a const ChunkVec object.
 

Detailed Description

The end chunk for a given PNG file.

Constructor & Destructor Documentation

◆ End() [1/2]

facade::png::End::End ( )
inline

◆ End() [2/2]

facade::png::End::End ( const End other)
inline

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