新增了PQDIF补招线程,导入了新的lib库

This commit is contained in:
2026-04-22 10:40:19 +08:00
parent dfe0f2e5e2
commit 3f3c706b0d
79 changed files with 25160 additions and 178 deletions

View File

@@ -0,0 +1,59 @@
// File name: $Workfile: pqbytearray.h $
// Last modified: $Modtime: 9/20/00 4:19p $
// Last modified by: $Author: Bill $
//
// VCS archive path: $Archive: /Hank/DMM/FirmWare/Level3/ObDatMgr/pqbytearray.h $
// VCS revision: $Revision: 4 $
class CPQByteArray
{
public:
CPQByteArray();
~CPQByteArray();
public:
inline int GetSize( void ) const
{
return m_size;
}
bool SetSize( int NewSize, int GrowBy = -1 );
inline BYTE GetAt( int idx ) const
{
//ASSERT( m_data != NULL && idx >= 0 && idx < m_size );
return m_data[ idx ];
}
inline void SetAt( int idx, BYTE value )
{
//ASSERT( m_data != NULL && idx >= 0 && idx < m_size );
m_data[ idx ] = value;
}
BYTE& ElementAt( int idx ) const
{
//ASSERT( m_data != NULL && idx >= 0 && idx < m_size );
return m_data[ idx ];
}
inline const BYTE * GetData( void ) const { return m_data; }
inline BYTE * GetData( void ) { return m_data; }
int Add( BYTE value );
int Append( BYTE * values, int count );
BYTE operator[] ( int idx ) const
{
//ASSERT( m_data != NULL && idx >= 0 && idx < m_size );
return m_data[ idx ];
}
BYTE& operator[] ( int idx )
{
//ASSERT( m_data != NULL && idx >= 0 && idx < m_size );
return m_data[ idx ];
}
protected:
BYTE * m_data;
int m_size;
int m_max;
int m_growBy;
};