37typedef std::string::size_type size_type;
43 for (size_type i = 0,
e = str.length(); i <
e; ++i) {
44 const char symbol = str[i];
46 throw std::runtime_error(
"bad symbol while converting component " +
componentName +
" into number");
49 std::istringstream in(str);
59 throw std::runtime_error(
"Unexpected end of name while parsing " +
componentName);
63 throw std::runtime_error(
"Component " +
componentName +
" must start from '-'");
65 const size_type
start = ++pos;
110 if (
dst.fFamilyName ==
"symbol")
111 dst.fFamilyName =
"helvetica";
127 else if (weight ==
"bold")
185 if (
dst.fPixelSize < 12)
201size_type
ParseHoriz(
const std::string &
name, size_type pos, XLFDName &)
210size_type
ParseVert(
const std::string &
name, size_type pos, XLFDName &)
267 ::Warning(
"ROOT::MacOSX::X11::ParseXLFDName: ",
"XLFD name is a string with a zero length");
274 dst.fFamilyName =
"LucidaGrande";
314 }
catch (
const std::exception &
e) {
315 ::Error(
"ROOT::MacOSX::Quartz::ParseXLFDName",
"Failed to parse XLFD name - %s",
e.what());
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
bool ParseXLFDName(const std::string &xlfdName, XLFDName &dst)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...