HttpRequest::HttpRequest(const string& sub, const RequestType& type):
    m_contents()
{
    setHttpVersion("1.1");
    setRequestType(type);
    setSub(sub);
}
/*!
    \fn CvBinGabAdaFeatureSelect::CvBinGabAdaFeatureSelect(CvFaceDB *db, CvPoolParams *param, int possub, const char* filename))
 */
 CvBinGabAdaFeatureSelect::CvBinGabAdaFeatureSelect(CvFaceDB *db, CvPoolParams *param, int possub, const char* filename)
{
  setDB(db);
  setPool( param );
  setSub( possub );
  setWeaksname( filename );
  init_weights();
}
/*!
    \fn CvBinGabAdaFeatureSelect::CvBinGabAdaFeatureSelect(CvFaceDB *db, CvPoolParams *param, int possub)
 */
 CvBinGabAdaFeatureSelect::CvBinGabAdaFeatureSelect(CvFaceDB *db, CvPoolParams *param, int possub)
{
  setDB(db);
  setPool( param );
  setSub( possub );
  setWeaksname( "weaks.xml" );
  init_weights();
}