MeshLib C++ Docs
Loading...
Searching...
No Matches
MRChrono.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRPch/MRBindingMacros.h"
5
6#include <ctime>
7#include <optional>
8
9namespace MR
10{
13
14
16[[nodiscard]] MRMESH_API MR_BIND_IGNORE std::optional<std::tm> Localtime( std::time_t time );
17
19[[nodiscard]] MRMESH_API MR_BIND_IGNORE std::tm LocaltimeOrZero( std::time_t time );
20
21}
MRMESH_API MR_BIND_IGNORE std::tm LocaltimeOrZero(std::time_t time)
Same, but returns a struct full of zeroes on error.
std::array< Vector3f, 3 > MR_BIND_IGNORE
Definition MRMeshBuilderTypes.h:13
MRMESH_API MR_BIND_IGNORE std::optional< std::tm > Localtime(std::time_t time)
A threadsafe equivalent for std::localtime(). Returns null on failure.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8