Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: IccTagEmbeddedProfile. More...
#include <IccTagEmbedIcc.h>
Public Member Functions | |
CIccTagEmbeddedProfile () | |
Name: CIccTagEmbedProfile::CIccTagEmbedProfile. | |
CIccTagEmbeddedProfile (const CIccTagEmbeddedProfile &ITU) | |
Name: CIccTagEmbedProfile::CIccTagEmbedProfile. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagEmbedProfile::Describe. | |
virtual const icChar * | GetClassName () const |
virtual CIccProfile * | GetProfile () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual bool | IsSupported () |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagEmbeddedProfile & | operator= (const CIccTagEmbeddedProfile &UnknownTag) |
Name: CIccTagEmbedProfile::operator=. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Function: Read(size, pIO) - Read tag from file. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
Name: CIccTagEmbedProfile::Read. | |
virtual bool | ReadAll () |
Name: CIccTagEmbedProfile::ReadAll. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagEmbedProfile::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagEmbedProfile::Write. | |
virtual | ~CIccTagEmbeddedProfile () |
Name: CIccTagEmbedProfile::~CIccTagEmbedProfile. | |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Public Attributes | |
CIccProfile * | m_pProfile |
![]() | |
icUInt32Number | m_nReserved |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
Class: IccTagEmbeddedProfile.
Purpose: This "private" tag is used to embed a profile within a profile allowing for v5 profiles to be embedded in v2/v4 profiles
Definition at line 84 of file IccTagEmbedIcc.h.
CIccTagEmbeddedProfile::CIccTagEmbeddedProfile | ( | ) |
Name: CIccTagEmbedProfile::CIccTagEmbedProfile.
Purpose: Constructor
Definition at line 93 of file IccTagEmbedIcc.cpp.
References m_pProfile.
CIccTagEmbeddedProfile::CIccTagEmbeddedProfile | ( | const CIccTagEmbeddedProfile & | ITEP | ) |
Name: CIccTagEmbedProfile::CIccTagEmbedProfile.
Purpose: Copy Constructor
Args: ITU = The CIccTagEmbedProfile object to be copied
Definition at line 108 of file IccTagEmbedIcc.cpp.
References m_pProfile.
|
virtual |
Name: CIccTagEmbedProfile::~CIccTagEmbedProfile.
Purpose: Destructor
Definition at line 150 of file IccTagEmbedIcc.cpp.
References m_pProfile.
|
virtual |
Name: CIccTagEmbedProfile::Describe.
Purpose: Dump data associated with unknown tag to a string
Args: sDescription - string to concatenate tag dump to
Reimplemented from CIccTag.
Definition at line 308 of file IccTagEmbedIcc.cpp.
References icHeader::attributes, icHeader::biSpectralRange, icHeader::cmmId, icHeader::colorSpace, icHeader::creator, icHeader::date, icDateTimeNumber::day, icHeader::deviceClass, icHeader::deviceSubClass, icSpectralRange::end, icHeader::flags, CIccInfo::GetCmmSigName(), CIccInfo::GetColorSpaceSigName(), CIccInfo::GetDeviceAttrName(), CIccInfo::GetPlatformSigName(), CIccInfo::GetProfileClassSigName(), CIccInfo::GetProfileFlagsName(), CIccInfo::GetProfileID(), CIccInfo::GetRenderingIntentName(), CIccInfo::GetSpectralColorSigName(), CIccInfo::GetSubClassVersionName(), CIccInfo::GetTagSigName(), CIccInfo::GetVersionName(), icDateTimeNumber::hours, icF16toF(), icFtoD(), icGetSig(), icVersionNumberV5, icHeader::illuminant, CIccInfo::IsProfileIDCalculated(), m_pProfile, icHeader::mcs, icDateTimeNumber::minutes, icDateTimeNumber::month, icHeader::pcs, icHeader::platform, icHeader::profileID, icHeader::renderingIntent, icDateTimeNumber::seconds, icHeader::size, icHeader::spectralPCS, icHeader::spectralRange, icSpectralRange::start, icSpectralRange::steps, icHeader::version, icXYZNumber::X, icXYZNumber::Y, icDateTimeNumber::year, and icXYZNumber::Z.
|
inlinevirtual |
Reimplemented from CIccTag.
Definition at line 96 of file IccTagEmbedIcc.h.
|
inlinevirtual |
Definition at line 98 of file IccTagEmbedIcc.h.
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 95 of file IccTagEmbedIcc.h.
References icSigEmbeddedProfileType.
Referenced by Read(), and Write().
|
inlinevirtual |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes.
By Default inherited classes are supported. Unknown tag types are not supported.
Returns true if tag type is supported.
Reimplemented from CIccTag.
Definition at line 93 of file IccTagEmbedIcc.h.
|
inlinevirtual |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
Parameter(s): none
Returns a new CIccTag object that is a copy of this object.
Reimplemented from CIccTag.
Definition at line 90 of file IccTagEmbedIcc.h.
CIccTagEmbeddedProfile & CIccTagEmbeddedProfile::operator= | ( | const CIccTagEmbeddedProfile & | ITEP | ) |
Name: CIccTagEmbedProfile::operator=.
Purpose: Copy Operator
Args: UnknownTag = The CIccTagEmbedProfile object to be copied
Definition at line 127 of file IccTagEmbedIcc.cpp.
References m_pProfile.
|
inlinevirtual |
Function: Read(size, pIO) - Read tag from file.
Each derived tag will implement it's own Read() function.
Parameter(s): size - number of bytes in tag including the type signature. pIO - IO object used to read in tag. The IO object should already be initialized to point to the begining of the tag.
Returns true if Read is successful.
Reimplemented from CIccTag.
Definition at line 100 of file IccTagEmbedIcc.h.
References Read().
Referenced by Read().
|
virtual |
Name: CIccTagEmbedProfile::Read.
Purpose: Read in an unknown tag type into a data block
Args: size - # of bytes in tag, pIO - IO object to read tag from pProfile - pProfile object calling read
Return: true = successful, false = failure
Reimplemented from CIccTag.
Definition at line 172 of file IccTagEmbedIcc.cpp.
References GetType(), CIccTag::m_nReserved, m_pProfile, and CIccIO::Read32().
|
virtual |
Name: CIccTagEmbedProfile::ReadAll.
Purpose: Read all tags associated with the embedded profile
Return: true = successful, false = failure
Reimplemented from CIccTag.
Definition at line 245 of file IccTagEmbedIcc.cpp.
References m_pProfile.
|
virtual |
Name: CIccTagEmbedProfile::Validate.
Purpose: Check tag data validity. In base class we only look at the tag's reserved data value
Args: sig = signature of tag being validated, sReport = String to add report information to
Return: icValidateStatusOK if valid, or other error status.
Reimplemented from CIccTag.
Definition at line 448 of file IccTagEmbedIcc.cpp.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateWarning, m_pProfile, and CIccTag::Validate().
|
virtual |
Name: CIccTagEmbedProfile::Write.
Purpose: Write an unknown tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
Reimplemented from CIccTag.
Definition at line 267 of file IccTagEmbedIcc.cpp.
References CIccEmbedIO::Attach(), GetType(), CIccTag::m_nReserved, m_pProfile, and CIccIO::Write32().
CIccProfile* CIccTagEmbeddedProfile::m_pProfile |
Definition at line 112 of file IccTagEmbedIcc.h.
Referenced by CIccTagEmbeddedProfile(), CIccTagEmbeddedProfile(), Describe(), operator=(), Read(), ReadAll(), Validate(), Write(), and ~CIccTagEmbeddedProfile().