52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
581 lines
14 KiB
HTML
581 lines
14 KiB
HTML
<html>
|
|
<head>
|
|
<title>Scripting Support Tasks</title>
|
|
</head>
|
|
<body>
|
|
<h1>Scripting Support Tasks<hr></h1>
|
|
|
|
|
|
<!-- summary table -->
|
|
<table border>
|
|
<!-- table column headers -->
|
|
<th>
|
|
<table>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
|
|
</a>
|
|
</td>
|
|
</table>
|
|
</th>
|
|
<th><strong>Task Summary</strong></th>
|
|
<th><strong>Owner</strong></th>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td width="100%">
|
|
BPropertyInfo
|
|
</td>
|
|
<!-- owner -->
|
|
<td width="25%">
|
|
Jeremy Rand
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
|
|
<!-- detail table -->
|
|
<table border>
|
|
<!-- table column headers -->
|
|
<th>
|
|
<table>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
|
|
</a>
|
|
</td>
|
|
</table>
|
|
</th>
|
|
<th width="100%"><strong>Task Details</strong></th>
|
|
<!-- <th><strong>Owner</strong></th> -->
|
|
|
|
<!-- Class header -->
|
|
<tr>
|
|
<td colspan="7"><center><strong>BPropertyInfo Class</strong></center></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BPropertyInfo(property_info* p = NULL, value_info* ci = NULL, bool free_on_delete = false);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual ~BPropertyInfo();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual int32 FindMatch(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop, void* data = NULL) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual bool IsFixedSize() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual type_code TypeCode() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual ssize_t FlattenedSize() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual status_t Flatten(void* buffer, ssize_t size) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual bool AllowsTypeCode(type_code code) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual status_t Unflatten(type_code c, const void* buf, ssize_t s);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
const property_info* Properties() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
const value_info* Values() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 CountProperties() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 CountValues() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
void PrintToStream() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
static bool FindCommand(uint32, int32, property_info* );
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
static bool FindSpecifier(uint32, property_info* );
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br><br>
|
|
<hr>
|
|
<br><br>
|
|
|
|
<!-- legend table -->
|
|
<a name="legend">
|
|
<table border>
|
|
<tr>
|
|
<td align="center"><strong>Legend</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td><img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec"></td>
|
|
<td>Functional Spec</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/User.gif" width="22" height="22" alt="Use Cases"></td>
|
|
<td>Use Cases</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests"></td>
|
|
<td>Unit Tests</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec"></td>
|
|
<td>Technical Spec</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation"></td>
|
|
<td>Implementation</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Check.gif" width="22" height="22" alt="Completed"></td>
|
|
<td>Completed</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</a>
|
|
<br>
|
|
|
|
<!-- The obligatory SourceForge plug -->
|
|
<center>
|
|
<small>The OpenBeOS project is hosted by:</small><br><br>
|
|
<a href="http://sourceforge.net">
|
|
<img src="http://sourceforge.net/sflogo.php?group_id=33869&type=1" width="88" height="31" border="0" alt="SourceForge Logo">
|
|
</a>
|
|
<p>
|
|
|
|
<small>Copyright © 2001-2002
|
|
<a href="http://www.openbeos.org">OpenBeOS</a> Project</small>
|
|
</center>
|
|
|
|
</body>
|
|
</html>
|