SM0 She11
Path:
/
/
usr
/
include
/
unicode
Full Path (server): /usr/include/unicode
Create Fil3
Upl04d Fil3
📄 alphaindex.h
[E]
[D]
[R]
📄 appendable.h
[E]
[D]
[R]
📄 basictz.h
[E]
[D]
[R]
📄 bms.h
[E]
[D]
[R]
📄 bmsearch.h
[E]
[D]
[R]
📄 brkiter.h
[E]
[D]
[R]
📄 bytestream.h
[E]
[D]
[R]
📄 bytestrie.h
[E]
[D]
[R]
📄 bytestriebuilder.h
[E]
[D]
[R]
📄 calendar.h
[E]
[D]
[R]
📄 caniter.h
[E]
[D]
[R]
📄 chariter.h
[E]
[D]
[R]
📄 choicfmt.h
[E]
[D]
[R]
📄 coleitr.h
[E]
[D]
[R]
📄 coll.h
[E]
[D]
[R]
📄 colldata.h
[E]
[D]
[R]
📄 curramt.h
[E]
[D]
[R]
📄 currpinf.h
[E]
[D]
[R]
📄 currunit.h
[E]
[D]
[R]
📄 datefmt.h
[E]
[D]
[R]
📄 dbbi.h
[E]
[D]
[R]
📄 dcfmtsym.h
[E]
[D]
[R]
📄 decimfmt.h
[E]
[D]
[R]
📄 docmain.h
[E]
[D]
[R]
📄 dtfmtsym.h
[E]
[D]
[R]
📄 dtintrv.h
[E]
[D]
[R]
📄 dtitvfmt.h
[E]
[D]
[R]
📄 dtitvinf.h
[E]
[D]
[R]
📄 dtptngen.h
[E]
[D]
[R]
📄 dtrule.h
[E]
[D]
[R]
📄 enumset.h
[E]
[D]
[R]
📄 errorcode.h
[E]
[D]
[R]
📄 fieldpos.h
[E]
[D]
[R]
📄 fmtable.h
[E]
[D]
[R]
📄 format.h
[E]
[D]
[R]
📄 fpositer.h
[E]
[D]
[R]
📄 gender.h
[E]
[D]
[R]
📄 gregocal.h
[E]
[D]
[R]
📄 icudataver.h
[E]
[D]
[R]
📄 icuplug.h
[E]
[D]
[R]
📄 idna.h
[E]
[D]
[R]
📄 listformatter.h
[E]
[D]
[R]
📄 localpointer.h
[E]
[D]
[R]
📄 locdspnm.h
[E]
[D]
[R]
📄 locid.h
[E]
[D]
[R]
📄 measfmt.h
[E]
[D]
[R]
📄 measunit.h
[E]
[D]
[R]
📄 measure.h
[E]
[D]
[R]
📄 messagepattern.h
[E]
[D]
[R]
📄 msgfmt.h
[E]
[D]
[R]
📄 normalizer2.h
[E]
[D]
[R]
📄 normlzr.h
[E]
[D]
[R]
📄 numfmt.h
[E]
[D]
[R]
📄 numsys.h
[E]
[D]
[R]
📄 parseerr.h
[E]
[D]
[R]
📄 parsepos.h
[E]
[D]
[R]
📄 platform.h
[E]
[D]
[R]
📄 plurfmt.h
[E]
[D]
[R]
📄 plurrule.h
[E]
[D]
[R]
📄 ptypes.h
[E]
[D]
[R]
📄 putil.h
[E]
[D]
[R]
📄 rbbi.h
[E]
[D]
[R]
📄 rbnf.h
[E]
[D]
[R]
📄 rbtz.h
[E]
[D]
[R]
📄 regex.h
[E]
[D]
[R]
📄 rep.h
[E]
[D]
[R]
📄 resbund.h
[E]
[D]
[R]
📄 schriter.h
[E]
[D]
[R]
📄 search.h
[E]
[D]
[R]
📄 selfmt.h
[E]
[D]
[R]
📄 simpletz.h
[E]
[D]
[R]
📄 smpdtfmt.h
[E]
[D]
[R]
📄 sortkey.h
[E]
[D]
[R]
📄 std_string.h
[E]
[D]
[R]
📄 strenum.h
[E]
[D]
[R]
📄 stringpiece.h
[E]
[D]
[R]
📄 stringtriebuilder.h
[E]
[D]
[R]
📄 stsearch.h
[E]
[D]
[R]
📄 symtable.h
[E]
[D]
[R]
📄 tblcoll.h
[E]
[D]
[R]
📄 timezone.h
[E]
[D]
[R]
📄 tmunit.h
[E]
[D]
[R]
📄 tmutamt.h
[E]
[D]
[R]
📄 tmutfmt.h
[E]
[D]
[R]
📄 translit.h
[E]
[D]
[R]
📄 tzfmt.h
[E]
[D]
[R]
📄 tznames.h
[E]
[D]
[R]
📄 tzrule.h
[E]
[D]
[R]
📄 tztrans.h
[E]
[D]
[R]
📄 ubidi.h
[E]
[D]
[R]
📄 ubrk.h
[E]
[D]
[R]
📄 ucal.h
[E]
[D]
[R]
📄 ucasemap.h
[E]
[D]
[R]
📄 ucat.h
[E]
[D]
[R]
📄 uchar.h
[E]
[D]
[R]
📄 ucharstrie.h
[E]
[D]
[R]
📄 ucharstriebuilder.h
[E]
[D]
[R]
📄 uchriter.h
[E]
[D]
[R]
📄 uclean.h
[E]
[D]
[R]
📄 ucnv.h
[E]
[D]
[R]
📄 ucnv_cb.h
[E]
[D]
[R]
📄 ucnv_err.h
[E]
[D]
[R]
📄 ucnvsel.h
[E]
[D]
[R]
📄 ucol.h
[E]
[D]
[R]
📄 ucoleitr.h
[E]
[D]
[R]
📄 uconfig.h
[E]
[D]
[R]
📄 ucsdet.h
[E]
[D]
[R]
📄 ucurr.h
[E]
[D]
[R]
📄 udat.h
[E]
[D]
[R]
📄 udata.h
[E]
[D]
[R]
📄 udateintervalformat.h
[E]
[D]
[R]
📄 udatpg.h
[E]
[D]
[R]
📄 udisplaycontext.h
[E]
[D]
[R]
📄 uenum.h
[E]
[D]
[R]
📄 ugender.h
[E]
[D]
[R]
📄 uidna.h
[E]
[D]
[R]
📄 uiter.h
[E]
[D]
[R]
📄 uldnames.h
[E]
[D]
[R]
📄 uloc.h
[E]
[D]
[R]
📄 ulocdata.h
[E]
[D]
[R]
📄 umachine.h
[E]
[D]
[R]
📄 umisc.h
[E]
[D]
[R]
📄 umsg.h
[E]
[D]
[R]
📄 unifilt.h
[E]
[D]
[R]
📄 unifunct.h
[E]
[D]
[R]
📄 unimatch.h
[E]
[D]
[R]
📄 unirepl.h
[E]
[D]
[R]
📄 uniset.h
[E]
[D]
[R]
📄 unistr.h
[E]
[D]
[R]
📄 unorm.h
[E]
[D]
[R]
📄 unorm2.h
[E]
[D]
[R]
📄 unum.h
[E]
[D]
[R]
📄 uobject.h
[E]
[D]
[R]
📄 upluralrules.h
[E]
[D]
[R]
📄 uregex.h
[E]
[D]
[R]
📄 urename.h
[E]
[D]
[R]
📄 urep.h
[E]
[D]
[R]
📄 ures.h
[E]
[D]
[R]
📄 uscript.h
[E]
[D]
[R]
📄 usearch.h
[E]
[D]
[R]
📄 uset.h
[E]
[D]
[R]
📄 usetiter.h
[E]
[D]
[R]
📄 ushape.h
[E]
[D]
[R]
📄 uspoof.h
[E]
[D]
[R]
📄 usprep.h
[E]
[D]
[R]
📄 ustdio.h
[E]
[D]
[R]
📄 ustream.h
[E]
[D]
[R]
📄 ustring.h
[E]
[D]
[R]
📄 ustringtrie.h
[E]
[D]
[R]
📄 utext.h
[E]
[D]
[R]
📄 utf.h
[E]
[D]
[R]
📄 utf16.h
[E]
[D]
[R]
📄 utf32.h
[E]
[D]
[R]
📄 utf8.h
[E]
[D]
[R]
📄 utf_old.h
[E]
[D]
[R]
📄 utmscale.h
[E]
[D]
[R]
📄 utrace.h
[E]
[D]
[R]
📄 utrans.h
[E]
[D]
[R]
📄 utypes.h
[E]
[D]
[R]
📄 uvernum.h
[E]
[D]
[R]
📄 uversion.h
[E]
[D]
[R]
📄 vtzone.h
[E]
[D]
[R]
Editing: measure.h
/* ********************************************************************** * Copyright (c) 2004-2006, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Author: Alan Liu * Created: April 26, 2004 * Since: ICU 3.0 ********************************************************************** */ #ifndef __MEASURE_H__ #define __MEASURE_H__ #include "unicode/utypes.h" /** * \file * \brief C++ API: MeasureUnit object. */ #if !UCONFIG_NO_FORMATTING #include "unicode/fmtable.h" U_NAMESPACE_BEGIN class MeasureUnit; /** * An amount of a specified unit, consisting of a number and a Unit. * For example, a length measure consists of a number and a length * unit, such as feet or meters. This is an abstract class. * Subclasses specify a concrete Unit type. * * <p>Measure objects are parsed and formatted by subclasses of * MeasureFormat. * * <p>Measure objects are immutable. * * <p>This is an abstract class. * * @author Alan Liu * @stable ICU 3.0 */ class U_I18N_API Measure: public UObject { public: /** * Construct an object with the given numeric amount and the given * unit. After this call, the caller must not delete the given * unit object. * @param number a numeric object; amount.isNumeric() must be TRUE * @param adoptedUnit the unit object, which must not be NULL * @param ec input-output error code. If the amount or the unit * is invalid, then this will be set to a failing value. * @stable ICU 3.0 */ Measure(const Formattable& number, MeasureUnit* adoptedUnit, UErrorCode& ec); /** * Copy constructor * @stable ICU 3.0 */ Measure(const Measure& other); /** * Assignment operator * @stable ICU 3.0 */ Measure& operator=(const Measure& other); /** * Return a polymorphic clone of this object. The result will * have the same class as returned by getDynamicClassID(). * @stable ICU 3.0 */ virtual UObject* clone() const = 0; /** * Destructor * @stable ICU 3.0 */ virtual ~Measure(); /** * Equality operator. Return true if this object is equal * to the given object. * @stable ICU 3.0 */ UBool operator==(const UObject& other) const; /** * Return a reference to the numeric value of this object. The * numeric value may be of any numeric type supported by * Formattable. * @stable ICU 3.0 */ inline const Formattable& getNumber() const; /** * Return a reference to the unit of this object. * @stable ICU 3.0 */ inline const MeasureUnit& getUnit() const; protected: /** * Default constructor. * @stable ICU 3.0 */ Measure(); private: /** * The numeric value of this object, e.g. 2.54 or 100. */ Formattable number; /** * The unit of this object, e.g., "millimeter" or "JPY". This is * owned by this object. */ MeasureUnit* unit; }; inline const Formattable& Measure::getNumber() const { return number; } inline const MeasureUnit& Measure::getUnit() const { return *unit; } U_NAMESPACE_END #endif // !UCONFIG_NO_FORMATTING #endif // __MEASURE_H__
Save