50 std::unique_ptr<TilesetContentLoaderType>&& pLoader_,
51 std::unique_ptr<Tile>&& pRootTile_,
52 std::vector<LoaderCreditResult>&& credits_,
53 std::vector<CesiumAsync::IAssetAccessor::THeader>&& requestHeaders_,
75 class OtherLoaderType,
76 typename Enable_Type =
std::enable_if_t<
78 std::is_convertible_v<
79 std::unique_ptr<OtherLoaderType>,
80 std::unique_ptr<TilesetContentLoaderType>>,
84 :
pLoader{std::move(rhs.pLoader)},
86 credits{std::move(rhs.credits)},
88 errors{std::move(rhs.errors)} {}
96 class OtherLoaderType,
97 typename Enable_Type = std::enable_if_t<
98 !std::is_same_v<OtherLoaderType, TilesetContentLoaderResult> &&
99 std::is_convertible_v<
100 std::unique_ptr<OtherLoaderType>,
101 std::unique_ptr<TilesetContentLoaderType>>,
103 TilesetContentLoaderResult&
106 swap(this->
pLoader, rhs.pLoader);
108 swap(this->
credits, rhs.credits);
116 std::unique_ptr<TilesetContentLoaderType>
pLoader;
The result of creating a TilesetContentLoader, including the status, request, and any errors,...
std::unique_ptr< TilesetContentLoaderType > pLoader
The TilesetContentLoader that produced this result.
TilesetContentLoaderResult(std::unique_ptr< TilesetContentLoaderType > &&pLoader_, std::unique_ptr< Tile > &&pRootTile_, std::vector< LoaderCreditResult > &&credits_, std::vector< CesiumAsync::IAssetAccessor::THeader > &&requestHeaders_, CesiumUtility::ErrorList &&errors_)
Creates a new TilesetContentLoaderResult.
uint16_t statusCode
The HTTP status code returned when attempting to create this TilesetContentLoader.
std::unique_ptr< Tile > pRootTile
The root Tile object from the created loader.
CesiumUtility::ErrorList errors
Any errors or warnings that arose while creating this TilesetContentLoader.
std::vector< LoaderCreditResult > credits
A set of LoaderCreditResult objects created by the loader.
std::vector< CesiumAsync::IAssetAccessor::THeader > requestHeaders
The request headers used to fetch the tileset.
TilesetContentLoaderResult(TilesetContentLoaderResult &&) noexcept=default
Move constructor for TilesetContentLoaderResult.
TilesetContentLoaderResult & operator=(TilesetContentLoaderResult< OtherLoaderType > &&rhs) noexcept
Move assignment operator for creating a TilesetContentLoaderResult<T> from a TilesetContentLoaderResu...