proxygen
|
Classes | |
struct | ColorError |
struct | Dimensions |
Enumerations | |
enum | SmallEnum |
enum | Color { Color::Red, Color::Blue } |
enum | ColorErrorCode { ColorErrorCode::INVALID_COLOR } |
Functions | |
Expected< StringPiece, ConversionCode > | parseTo (folly::StringPiece in, Dimensions &out) |
template<class String > | |
void | toAppend (const Dimensions &in, String *result) |
size_t | estimateSpaceNeeded (const Dimensions &in) |
Expected< StringPiece, ConversionCode > | parseTo (StringPiece in, SmallEnum &out) |
template<class String > | |
void | toAppend (SmallEnum, String *result) |
ColorError | makeConversionError (ColorErrorCode, StringPiece sp) |
Expected< StringPiece, ColorErrorCode > | parseTo (StringPiece in, Color &out) noexcept |
|
strong |
Enumerator | |
---|---|
Red | |
Blue |
Definition at line 980 of file StringTest.cpp.
|
strong |
Enumerator | |
---|---|
INVALID_COLOR |
Definition at line 985 of file StringTest.cpp.
|
strong |
Definition at line 1248 of file ConvTest.cpp.
size_t my::estimateSpaceNeeded | ( | const Dimensions & | in | ) |
Definition at line 1243 of file ConvTest.cpp.
References folly::estimateSpaceNeeded(), my::Dimensions::h, and my::Dimensions::w.
ColorError my::makeConversionError | ( | ColorErrorCode | , |
StringPiece | sp | ||
) |
|
noexcept |
Definition at line 995 of file StringTest.cpp.
References folly::makeUnexpected().
Expected<StringPiece, ConversionCode> my::parseTo | ( | folly::StringPiece | in, |
Dimensions & | out | ||
) |
Definition at line 1230 of file ConvTest.cpp.
References my::Dimensions::h, parseTo(), folly::Range< Iter >::removePrefix(), and my::Dimensions::w.
Expected<StringPiece, ConversionCode> my::parseTo | ( | StringPiece | in, |
SmallEnum & | out | ||
) |
Definition at line 1250 of file ConvTest.cpp.
References folly::makeUnexpected(), and folly::Range< Iter >::removePrefix().
Referenced by parseTo(), and TEST().
void my::toAppend | ( | const Dimensions & | in, |
String * | result | ||
) |
Definition at line 1239 of file ConvTest.cpp.
References my::Dimensions::h, folly::toAppend(), and my::Dimensions::w.
void my::toAppend | ( | SmallEnum | , |
String * | result | ||
) |
Definition at line 1260 of file ConvTest.cpp.
References folly::toAppend().
Referenced by TEST(), and testVariadicTo().