tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt::object Struct Reference

C++ wrapper for tpbrt_object_t. More...

#include <tinypbrt/detail/cpp/object.hpp>

Public Member Functions

constexpr string name () const noexcept
 Returns name value.
 
constexpr shapes_list children () const noexcept
 Returns children value.
 
constexpr auto begin () const noexcept
 Returns begin iterator for children.
 
constexpr auto end () const noexcept
 Returns end iterator for children.
 
constexpr object_idx_t idx () const noexcept
 Returns idx value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

C++ wrapper for tpbrt_object_t.

Member Function Documentation

◆ name()

constexpr string tpbrt::object::name ( ) const
inlineconstexprnoexcept

Returns name value.

◆ children()

constexpr shapes_list tpbrt::object::children ( ) const
inlineconstexprnoexcept

Returns children value.

◆ begin()

constexpr auto tpbrt::object::begin ( ) const
inlineconstexprnoexcept

Returns begin iterator for children.

◆ end()

constexpr auto tpbrt::object::end ( ) const
inlineconstexprnoexcept

Returns end iterator for children.

◆ idx()

constexpr object_idx_t tpbrt::object::idx ( ) const
inlineconstexprnoexcept

Returns idx value.

◆ reflect()

constexpr auto tpbrt::object::reflect ( ) const
inlineconstexprnoexcept

Conversion to tuple.


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