Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Type: Class. More...
#include <IccUtil.h>
Protected Attributes | |
std::string * | m_str |
icChar | m_szSigStr [128] |
icChar | m_szStr [128] |
Type: Class.
Purpose: This is a utility class which can be used to get profile info for printing. The member functions are used to convert signatures and other enum values to character strings for printing.
CIccInfo::CIccInfo | ( | ) |
|
virtual |
icValidateStatus CIccInfo::CheckData | ( | std::string & | sReport, |
const icDateTimeNumber & | dateTime, | ||
std::string | sDesc = "" ) |
Definition at line 2414 of file IccUtil.cpp.
References icDateTimeNumber::day, icDateTimeNumber::hours, icMaxStatus(), icMsgValidateWarning, icValidateOK, icValidateWarning, icDateTimeNumber::minutes, icDateTimeNumber::month, icDateTimeNumber::seconds, and icDateTimeNumber::year.
Referenced by CIccResponseCurveStruct::Validate(), CIccTagDateTime::Validate(), CIccTagSpectralDataInfo::Validate(), CIccTagSpectralViewingConditions::Validate(), CIccTagViewingConditions::Validate(), and CIccTagXYZ::Validate().
icValidateStatus CIccInfo::CheckData | ( | std::string & | sReport, |
const icFloatXYZNumber & | XYZ, | ||
std::string | sDesc = "" ) |
Definition at line 2365 of file IccUtil.cpp.
References icMaxStatus(), icMsgValidateNonCompliant, icValidateNonCompliant, icValidateOK, icFloatXYZNumber::X, icFloatXYZNumber::Y, and icFloatXYZNumber::Z.
icValidateStatus CIccInfo::CheckData | ( | std::string & | sReport, |
const icSpectralRange & | range, | ||
std::string | sDesc = "" ) |
Definition at line 2393 of file IccUtil.cpp.
References icSpectralRange::end, icF16toF(), icMaxStatus(), icMsgValidateNonCompliant, icValidateNonCompliant, icValidateOK, icSpectralRange::start, and icSpectralRange::steps.
icValidateStatus CIccInfo::CheckData | ( | std::string & | sReport, |
const icXYZNumber & | XYZ, | ||
std::string | sDesc = "" ) |
Definition at line 2337 of file IccUtil.cpp.
References icMaxStatus(), icMsgValidateNonCompliant, icValidateNonCompliant, icValidateOK, icXYZNumber::X, icXYZNumber::Y, and icXYZNumber::Z.
icValidateStatus CIccInfo::CheckLuminance | ( | std::string & | sReport, |
const icFloatXYZNumber & | XYZ, | ||
std::string | sDesc = "" ) |
Definition at line 2516 of file IccUtil.cpp.
References icMsgValidateWarning, icValidateOK, icValidateWarning, and icFloatXYZNumber::Y.
Referenced by CIccTagSpectralViewingConditions::Validate().
const icChar * CIccInfo::GetArraySigName | ( | icArraySignature | sig | ) |
Definition at line 1512 of file IccUtil.cpp.
References CIccArrayCreator::GetArraySigName(), GetUnknownName(), m_str, and sig.
const icChar * CIccInfo::GetCmmSigName | ( | icCmmSignature | sig | ) |
Definition at line 1874 of file IccUtil.cpp.
References GetUnknownName(), icSigAdobe, icSigAgfa, icSigApple, icSigArgyllCMS, icSigColorGear, icSigColorGearC, icSigColorGearLite, icSigDemoIccMAX, icSigEFI, icSigExactScan, icSigFujiFilm, icSigHarlequinRIP, icSigHeidelberg, icSigKodak, icSigKonicaMinolta, icSigLittleCMS, icSigLogoSync, icSigMicrosoft, icSigMutoh, icSigRefIccMAX, icSigRolfGierling, icSigSampleICC, icSigTheImagingFactory, icSigToshiba, icSigVivo, icSigWareToGo, icSigZoran, and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetColorantEncoding | ( | icColorantEncoding | colorant | ) |
Definition at line 2317 of file IccUtil.cpp.
References icColorantEBU, icColorantITU, icColorantP22, and icColorantSMPTE.
Referenced by CIccTagChromaticity::Describe(), and CIccTagXmlChromaticity::ToXml().
const icChar * CIccInfo::GetColorimetricIntentImageStateName | ( | icColorimetricIntentImageStateSignature | sig | ) |
Definition at line 1976 of file IccUtil.cpp.
References GetUnknownName(), icSigFocalPlaneColorimetryEstimates, icSigReflectionHardcopyOriginalColorimetry, icSigReflectionPrintOutputColorimetry, icSigSceneAppearanceEstimates, icSigSceneColorimetryEstimates, and sig.
Referenced by GetSigName().
const icChar * CIccInfo::GetColorSpaceSigName | ( | icColorSpaceSignature | sig | ) |
Definition at line 1640 of file IccUtil.cpp.
References GetUnknownName(), icGetColorSpaceType, icGetSpaceSamples(), icNumColorSpaceChannels, icSigBiSpectralReflectanceData, icSigCmyData, icSigCmykData, icSigDevLabData, icSigDevXYZData, icSigGamutData, icSigGrayData, icSigHlsData, icSigHsvData, icSigLabData, icSigLuvData, icSigMCH1Data, icSigMCH2Data, icSigMCH3Data, icSigMCH4Data, icSigMCH5Data, icSigMCH6Data, icSigMCH7Data, icSigMCH8Data, icSigMCH9Data, icSigMCHAData, icSigMCHBData, icSigMCHCData, icSigMCHDData, icSigMCHEData, icSigMCHFData, icSigNamedData, icSigNChannelData, icSigNoColorData, icSigRadiantSpectralData, icSigReflectanceSpectralData, icSigRgbData, icSigSparseMatrixReflectanceData, icSigTransmisionSpectralData, icSigXYZData, icSigYCbCrData, icSigYxyData, m_szStr, and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), GetSigName(), main(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetDeviceAttrName | ( | icUInt64Number | val | ) |
Definition at line 1448 of file IccUtil.cpp.
References icMatte, icTransparency, and m_szStr.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetElementTypeSigName | ( | icElemTypeSignature | sig | ) |
Definition at line 1604 of file IccUtil.cpp.
References CIccMpeCreator::GetElementSigName(), GetUnknownName(), m_str, and sig.
Referenced by GetPathEntrySigName().
const icChar * CIccInfo::GetIlluminantName | ( | icIlluminant | val | ) |
Definition at line 2169 of file IccUtil.cpp.
References icIlluminantA, icIlluminantB, icIlluminantBlackBody, icIlluminantC, icIlluminantD50, icIlluminantD55, icIlluminantD65, icIlluminantD93, icIlluminantDaylight, icIlluminantEquiPowerE, icIlluminantF1, icIlluminantF10, icIlluminantF11, icIlluminantF12, icIlluminantF2, icIlluminantF3, icIlluminantF4, icIlluminantF5, icIlluminantF6, icIlluminantF7, icIlluminantF8, icIlluminantF9, icIlluminantUnknown, and m_szStr.
Referenced by CIccTagMeasurement::Describe(), CIccTagSpectralViewingConditions::Describe(), CIccTagViewingConditions::Describe(), CIccTagXmlMeasurement::ToXml(), CIccTagXmlSpectralViewingConditions::ToXml(), and CIccTagXmlViewingConditions::ToXml().
const icChar * CIccInfo::GetMeasurementFlareName | ( | icMeasurementFlare | val | ) |
Definition at line 2055 of file IccUtil.cpp.
References icFlare0, icFlare100, icMaxEnumFlare, and m_szStr.
Referenced by CIccTagMeasurement::Describe(), and CIccTagXmlMeasurement::ToXml().
const icChar * CIccInfo::GetMeasurementGeometryName | ( | icMeasurementGeometry | val | ) |
Definition at line 2076 of file IccUtil.cpp.
References icGeometry045or450, icGeometry0dord0, icGeometryUnknown, and m_szStr.
Referenced by CIccTagMeasurement::Describe(), and CIccTagXmlMeasurement::ToXml().
const icChar * CIccInfo::GetMeasurementUnit | ( | icSignature | sig | ) |
Definition at line 2247 of file IccUtil.cpp.
References icSigDN, icSigDNN, icSigDNNP, icSigDNP, icSigStatusA, icSigStatusE, icSigStatusI, icSigStatusM, icSigStatusT, m_szStr, and sig.
Referenced by CIccResponseCurveStruct::Describe(), and CIccTagXmlResponseCurveSet16::ToXml().
const icChar * CIccInfo::GetPathEntrySigName | ( | icUInt32Number | val | ) |
Definition at line 2035 of file IccUtil.cpp.
References GetElementTypeSigName(), GetTagSigName(), GetTagTypeSigName(), GetUnknownName(), m_szStr, and sig.
Referenced by GetSigPathName().
const icChar * CIccInfo::GetPlatformSigName | ( | icPlatformSignature | sig | ) |
Definition at line 1845 of file IccUtil.cpp.
References GetUnknownName(), icSigMacintosh, icSigMicrosoft, icSigSGI, icSigSolaris, icSigTaligent, icSigUnkownPlatform, and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), GetSigName(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetProfileClassSigName | ( | icProfileClassSignature | sig | ) |
Definition at line 1804 of file IccUtil.cpp.
References GetUnknownName(), icSigAbstractClass, icSigColorEncodingClass, icSigColorSpaceClass, icSigDisplayClass, icSigInputClass, icSigLinkClass, icSigMaterialIdentificationClass, icSigMaterialLinkClass, icSigMaterialVisualizationClass, icSigNamedColorClass, icSigOutputClass, and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), GetSigName(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetProfileFlagsName | ( | icUInt32Number | val, |
bool | bCheckMCS = false ) |
Definition at line 1465 of file IccUtil.cpp.
References icEmbeddedProfileTrue, icExtendedRangePCS, icMCSNeedsSubsetTrue, icUseWithEmbeddedDataOnly, and m_szStr.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetProfileID | ( | icProfileID * | profileID | ) |
Definition at line 2293 of file IccUtil.cpp.
References icProfileID::ID8, and m_szStr.
Referenced by CIccTagEmbeddedProfile::Describe(), and main().
const icChar * CIccInfo::GetReferenceMediumGamutSigNameName | ( | icReferenceMediumGamutSignature | sig | ) |
Definition at line 1964 of file IccUtil.cpp.
References GetUnknownName(), icSigPerceptualReferenceMediumGamut, and sig.
Referenced by GetSigName().
const icChar * CIccInfo::GetRenderingIntentName | ( | icRenderingIntent | val, |
bool | bIsV5 = false ) |
Definition at line 2091 of file IccUtil.cpp.
References icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, and m_szStr.
Referenced by AnalyzeRoundTrip(), CIccTagEmbeddedProfile::Describe(), main(), MyChild::MyChild(), and CIccProfileXml::ToXmlWithBlanks().
const icChar * CIccInfo::GetSigName | ( | icUInt32Number | val | ) |
Definition at line 2000 of file IccUtil.cpp.
References GetColorimetricIntentImageStateName(), GetColorSpaceSigName(), GetPlatformSigName(), GetProfileClassSigName(), GetReferenceMediumGamutSigNameName(), GetTagSigName(), GetTagTypeSigName(), GetTechnologySigName(), m_szStr, and sig.
Referenced by CIccTagSignature::Describe(), CIccResponseCurveStruct::Validate(), CIccTagProfileSeqDesc::Validate(), and CIccTagSignature::Validate().
std::string CIccInfo::GetSigPathName | ( | std::string | sigPath | ) |
Definition at line 1614 of file IccUtil.cpp.
References GetPathEntrySigName(), icGetSigVal(), and sig.
Referenced by CIccCalculatorFunc::Validate(), CIccCLUT::Validate(), CIccFormulaCurveSegment::Validate(), CIccMatrix::Validate(), CIccMBB::Validate(), CIccMpeCalculator::Validate(), CIccMpeCLUT::Validate(), CIccMpeCurveSet::Validate(), CIccMpeExtCLUT::Validate(), CIccMpeInvEmissionMatrix::Validate(), CIccMpeMatrix::Validate(), CIccMpeSpectralCLUT::Validate(), CIccMpeSpectralMatrix::Validate(), CIccMpeSpectralObserver::Validate(), CIccMpeTintArray::Validate(), CIccMpeToneMap::Validate(), CIccMpeUnknown::Validate(), CIccMultiProcessElement::Validate(), CIccSampledCalculatorCurve::Validate(), CIccSampledCurveSegment::Validate(), CIccSegmentedCurve::Validate(), CIccSingleSampledCurve::Validate(), CIccStructBRDF::Validate(), CIccStructColorantInfo::Validate(), CIccStructNamedColor::Validate(), CIccTag::Validate(), CIccTagArray::Validate(), CIccTagChromaticity::Validate(), CIccTagCicp::Validate(), CIccTagColorantOrder::Validate(), CIccTagColorantTable::Validate(), CIccTagCurve::Validate(), CIccTagData::Validate(), CIccTagDict::Validate(), CIccTagEmbeddedHeightImage::Validate(), CIccTagEmbeddedNormalImage::Validate(), CIccTagEmbeddedProfile::Validate(), CIccTagFloatNum< T, Tsig >::Validate(), CIccTagGamutBoundaryDesc::Validate(), CIccTagLut16::Validate(), CIccTagLut8::Validate(), CIccTagLutAtoB::Validate(), CIccTagLutBtoA::Validate(), CIccTagMeasurement::Validate(), CIccTagMultiLocalizedUnicode::Validate(), CIccTagMultiProcessElement::Validate(), CIccTagNamedColor2::Validate(), CIccTagNum< T, Tsig >::Validate(), CIccTagParametricCurve::Validate(), CIccTagProfileSeqDesc::Validate(), CIccTagProfileSequenceId::Validate(), CIccTagResponseCurveSet16::Validate(), CIccTagSignature::Validate(), CIccTagSparseMatrixArray::Validate(), CIccTagSpectralDataInfo::Validate(), CIccTagSpectralViewingConditions::Validate(), CIccTagStruct::Validate(), CIccTagText::Validate(), CIccTagTextDescription::Validate(), CIccTagUtf16Text::Validate(), CIccTagUtf8Text::Validate(), CIccTagViewingConditions::Validate(), CIccTagXYZ::Validate(), and CIccTagZipUtf8Text::Validate().
const icChar * CIccInfo::GetSpectralColorSigName | ( | icSpectralColorSignature | sig | ) |
Definition at line 1769 of file IccUtil.cpp.
References GetUnknownName(), icGetColorSpaceType, icNumColorSpaceChannels, icSigBiSpectralReflectanceData, icSigNChannelData, icSigNoSpectralData, icSigRadiantSpectralData, icSigReflectanceSpectralData, icSigSparseMatrixReflectanceData, icSigTransmisionSpectralData, m_szStr, and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), main(), and MyChild::MyChild().
const icChar * CIccInfo::GetSpotShapeName | ( | icSpotShape | val | ) |
Definition at line 2118 of file IccUtil.cpp.
References icSpotShapeCross, icSpotShapeDiamond, icSpotShapeEllipse, icSpotShapeLine, icSpotShapePrinterDefault, icSpotShapeRound, icSpotShapeSquare, icSpotShapeUnknown, and m_szStr.
const icChar * CIccInfo::GetStandardObserverName | ( | icStandardObserver | val | ) |
Definition at line 2151 of file IccUtil.cpp.
References icStdObs1931TwoDegrees, icStdObs1964TenDegrees, icStdObsUnknown, and m_szStr.
Referenced by CIccTagMeasurement::Describe(), CIccTagSpectralViewingConditions::Describe(), and CIccTagXmlSpectralViewingConditions::ToXml().
const icChar * CIccInfo::GetStructSigName | ( | icStructSignature | sig | ) |
Definition at line 1504 of file IccUtil.cpp.
References CIccStructCreator::GetStructSigName(), GetUnknownName(), m_str, and sig.
Referenced by IIccStruct::Describe().
const icChar * CIccInfo::GetSubClassVersionName | ( | icUInt32Number | val | ) |
Definition at line 1438 of file IccUtil.cpp.
References m_szStr.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), MyChild::MyChild(), and CIccProfileXml::ToXmlWithBlanks().
const icChar * CIccInfo::GetTagSigName | ( | icTagSignature | sig | ) |
Definition at line 1495 of file IccUtil.cpp.
References CIccTagCreator::GetTagSigName(), GetUnknownName(), and sig.
Referenced by CIccTagEmbeddedProfile::Describe(), DumpTag(), GetPathEntrySigName(), GetSigName(), main(), MyChild::MyChild(), MyDialog::MyDialog(), MyTagDialog::MyTagDialog(), and CIccProfileXml::ToXmlWithBlanks().
const icChar * CIccInfo::GetTagTypeSigName | ( | icTagTypeSignature | sig | ) |
Definition at line 1594 of file IccUtil.cpp.
References CIccTagCreator::GetTagTypeSigName(), GetUnknownName(), and sig.
Referenced by DumpTag(), GetPathEntrySigName(), GetSigName(), MyChild::MyChild(), MyTagDialog::MyTagDialog(), CIccProfileXml::ParseTag(), CIccTagXmlStruct::ParseTag(), and CIccMpeXmlTintArray::ParseXml().
const icChar * CIccInfo::GetTechnologySigName | ( | icTechnologySignature | sig | ) |
Definition at line 1520 of file IccUtil.cpp.
References GetUnknownName(), icSigAMDisplay, icSigCRTDisplay, icSigDigitalCamera, icSigDyeSublimationPrinter, icSigElectrophotographicPrinter, icSigElectrostaticPrinter, icSigFilmScanner, icSigFilmWriter, icSigFlexography, icSigGravure, icSigInkJetPrinter, icSigOffsetLithography, icSigPhotoCD, icSigPhotographicPaperPrinter, icSigPhotoImageSetter, icSigPMDisplay, icSigProjectionTelevision, icSigReflectiveScanner, icSigSilkscreen, icSigThermalWaxPrinter, icSigVideoCamera, icSigVideoMonitor, and sig.
Referenced by GetSigName().
const icChar * CIccInfo::GetUnknownName | ( | icUInt32Number | val | ) |
Definition at line 1416 of file IccUtil.cpp.
References icGetSig(), and m_szStr.
Referenced by GetArraySigName(), GetCmmSigName(), GetColorimetricIntentImageStateName(), GetColorSpaceSigName(), GetElementTypeSigName(), GetPathEntrySigName(), GetPlatformSigName(), GetProfileClassSigName(), GetReferenceMediumGamutSigNameName(), GetSpectralColorSigName(), GetStructSigName(), GetTagSigName(), GetTagTypeSigName(), and GetTechnologySigName().
const icChar * CIccInfo::GetVersionName | ( | icUInt32Number | val | ) |
Definition at line 1428 of file IccUtil.cpp.
References m_szStr.
Referenced by CIccTagEmbeddedProfile::Describe(), main(), MyChild::MyChild(), MyDialog::MyDialog(), and CIccProfileXml::ToXmlWithBlanks().
bool CIccInfo::IsProfileIDCalculated | ( | icProfileID * | profileID | ) |
Definition at line 2305 of file IccUtil.cpp.
References icProfileID::ID8.
Referenced by CIccTagEmbeddedProfile::Describe(), and main().
bool CIccInfo::IsValidSpace | ( | icColorSpaceSignature | sig | ) |
Definition at line 2531 of file IccUtil.cpp.
References icGetColorSpaceType, icSig10colorData, icSig11colorData, icSig12colorData, icSig13colorData, icSig14colorData, icSig15colorData, icSig2colorData, icSig3colorData, icSig4colorData, icSig5colorData, icSig6colorData, icSig7colorData, icSig8colorData, icSig9colorData, icSigCmyData, icSigCmykData, icSigGamutData, icSigGrayData, icSigHlsData, icSigHsvData, icSigLabData, icSigLuvData, icSigMCH1Data, icSigNamedData, icSigNChannelData, icSigRgbData, icSigXYZData, icSigYCbCrData, icSigYxyData, and sig.
Referenced by CDevLinkWriter::begin().
bool CIccInfo::IsValidSpectralSpace | ( | icColorSpaceSignature | sig | ) |
Definition at line 2579 of file IccUtil.cpp.
References icGetColorSpaceType, icSigBiSpectralReflectanceData, icSigRadiantSpectralData, icSigReflectanceSpectralData, icSigSparseMatrixReflectanceData, icSigTransmisionSpectralData, and sig.
|
protected |
Definition at line 360 of file IccUtil.h.
Referenced by CIccInfo(), GetArraySigName(), GetElementTypeSigName(), GetStructSigName(), and ~CIccInfo().
|
protected |
Definition at line 358 of file IccUtil.h.
Referenced by GetColorSpaceSigName(), GetDeviceAttrName(), GetIlluminantName(), GetMeasurementFlareName(), GetMeasurementGeometryName(), GetMeasurementUnit(), GetPathEntrySigName(), GetProfileFlagsName(), GetProfileID(), GetRenderingIntentName(), GetSigName(), GetSpectralColorSigName(), GetSpotShapeName(), GetStandardObserverName(), GetSubClassVersionName(), GetUnknownName(), and GetVersionName().