BMessage: remove unimplemented GetPointer from headers and docs
* This was never implemented and no one noticed until now. * A default value for a pointer doesn't make that much sense anyway, so using the FindPointer method is fine.
This commit is contained in:
parent
6df2c16cc9
commit
207212972e
@ -1138,7 +1138,6 @@
|
||||
|
||||
\see AddData() for a more detailed overview of the inner workings.
|
||||
\see FindPointer()
|
||||
\see GetPointer()
|
||||
\see ReplacePointer()
|
||||
|
||||
\since BeOS R3
|
||||
@ -3514,39 +3513,6 @@ bool enabled = GetBool("enabled", false);
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn void* BMessage::GetPointer(const char* name,
|
||||
const void* defaultValue) const
|
||||
\brief Return the pointer from message with \a name, or
|
||||
\a defaultValue if not found.
|
||||
|
||||
\param name The name of the item to retrieve.
|
||||
\param defaultValue The value to use if the item specified by \a name
|
||||
is not found.
|
||||
|
||||
\return The item with \a name, or \a defaultValue if not found.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn void* BMessage::GetPointer(const char* name, int32 index,
|
||||
const void* defaultValue) const
|
||||
\brief Return the pointer from message with \a name and \a index, or
|
||||
\a defaultValue if not found.
|
||||
|
||||
\param name The name of the item to retrieve.
|
||||
\param index The index of the item to retrieve if there is more than one.
|
||||
\param defaultValue The value to use if the item specified by \a name
|
||||
is not found.
|
||||
|
||||
\return The item with \a name, or \a defaultValue if not found.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn const char* BMessage::GetString(const char* name,
|
||||
const char* defaultValue) const
|
||||
|
@ -446,10 +446,6 @@ public:
|
||||
double defaultValue) const;
|
||||
double GetDouble(const char* name, int32 index,
|
||||
double defaultValue) const;
|
||||
void* GetPointer(const char* name,
|
||||
const void* defaultValue) const;
|
||||
void* GetPointer(const char* name, int32 index,
|
||||
const void* defaultValue) const;
|
||||
const char* GetString(const char* name,
|
||||
const char* defaultValue) const;
|
||||
const char* GetString(const char* name, int32 index,
|
||||
|
Loading…
Reference in New Issue
Block a user