Skip to content

Commit

Permalink
Merge pull request #2856 from erslavin/unicode_character_classes_doxygen
Browse files Browse the repository at this point in the history
Unicode character classes doxygen

(Internal change: 2309007)
  • Loading branch information
pixar-oss committed Dec 15, 2023
2 parents 4fc8084 + e72b756 commit bc8eb4c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pxr/base/tf/unicodeCharacterClasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PXR_NAMESPACE_OPEN_SCOPE
// but we need the flags to be contiguous
constexpr uint32_t TF_MAX_CODE_POINT = 1114112;

/// @brief
/// \brief
/// Provides static initialization of the whether a Unicode code
/// point is contained with the XID_Start set of Unicode character
/// classes.
Expand All @@ -47,10 +47,10 @@ class TfUnicodeXidStartFlagData

TfUnicodeXidStartFlagData();

/// @brief Determines whether the given code point is contained within
/// \brief Determines whether the given code point is contained within
/// the XID_Start character class.
/// @param codePoint The Unicode code point to determine inclusion for.
/// @return true if the given codePoint is in the XID_Start character
/// \param codePoint The Unicode code point to determine inclusion for.
/// \return true if the given codePoint is in the XID_Start character
/// class, false otherwise.
inline bool IsXidStartCodePoint(uint32_t codePoint) const {
return (codePoint < TF_MAX_CODE_POINT) ? _flags[codePoint] : false;
Expand All @@ -61,7 +61,7 @@ class TfUnicodeXidStartFlagData
std::bitset<TF_MAX_CODE_POINT> _flags;
};

/// @brief
/// \brief
/// Provides static initialization of the whether a Unicode code
/// point is contained with the XID_Continue set of Unicode character
/// classes.
Expand All @@ -72,10 +72,10 @@ class TfUnicodeXidContinueFlagData

TfUnicodeXidContinueFlagData();

/// @brief Determines whether the given code point is contained within
/// \brief Determines whether the given code point is contained within
/// the XID_Continue character class.
/// @param codePoint The Unicode code point to determine inclusion for.
/// @return true if the given codePoint is in the XID_Continue
/// \param codePoint The Unicode code point to determine inclusion for.
/// \return true if the given codePoint is in the XID_Continue
/// character class false otherwise.
inline bool IsXidContinueCodePoint(uint32_t codePoint) const {
return (codePoint < TF_MAX_CODE_POINT) ? _flags[codePoint] : false;
Expand All @@ -86,13 +86,13 @@ class TfUnicodeXidContinueFlagData
std::bitset<TF_MAX_CODE_POINT> _flags;
};

/// @brief Retreives character class data for XID_Start.
/// @return An object which can be used to interrogate whether a code point
/// \brief Retrieves character class data for XID_Start.
/// \return An object which can be used to interrogate whether a code point
/// is contained within the XID_Start character class.
const TfUnicodeXidStartFlagData& TfUnicodeGetXidStartFlagData();

/// @brief Retreives character class data for XID_Continue.
/// @return An object which can be used to interrogate whether a code point
/// \brief Retrieves character class data for XID_Continue.
/// \return An object which can be used to interrogate whether a code point
/// is contained within the XID_Continue character class.
const TfUnicodeXidContinueFlagData& TfUnicodeGetXidContinueFlagData();

Expand Down

0 comments on commit bc8eb4c

Please sign in to comment.