当前位置: 首页>>代码示例>>C++>>正文


C++ VTable_Make_Obj函数代码示例

本文整理汇总了C++中VTable_Make_Obj函数的典型用法代码示例。如果您正苦于以下问题:C++ VTable_Make_Obj函数的具体用法?C++ VTable_Make_Obj怎么用?C++ VTable_Make_Obj使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了VTable_Make_Obj函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: PolyMatcher_new

PolyMatcher*
PolyMatcher_new(VArray *children, Similarity *sim) 
{
    PolyMatcher *self = (PolyMatcher*)VTable_Make_Obj(&POLYMATCHER);
    return PolyMatcher_init(self, children, sim);
}
开发者ID:robertkrimen,项目名称:Search-Kino03,代码行数:6,代码来源:PolyMatcher.c

示例2: FSFH_open

FSFileHandle*
FSFH_open(const CharBuf *path, uint32_t flags) {
    FSFileHandle *self = (FSFileHandle*)VTable_Make_Obj(FSFILEHANDLE);
    return FSFH_do_open(self, path, flags);
}
开发者ID:theory,项目名称:lucy,代码行数:5,代码来源:FSFileHandle.c

示例3: Int64Type_new

Int64Type*
Int64Type_new() {
    Int64Type *self = (Int64Type*)VTable_Make_Obj(INT64TYPE);
    return Int64Type_init(self);
}
开发者ID:pavansondur,项目名称:lucy,代码行数:5,代码来源:NumericType.c

示例4: SegReader_new

SegReader*
SegReader_new(Schema *schema, Folder *folder, Snapshot *snapshot,
              VArray *segments, int32_t seg_tick) {
    SegReader *self = (SegReader*)VTable_Make_Obj(SEGREADER);
    return SegReader_init(self, schema, folder, snapshot, segments, seg_tick);
}
开发者ID:theory,项目名称:lucy,代码行数:6,代码来源:SegReader.c

示例5: PhraseQuery_new

PhraseQuery*
PhraseQuery_new(const CharBuf *field, VArray *terms)
{
    PhraseQuery *self = (PhraseQuery*)VTable_Make_Obj(&PHRASEQUERY);
    return PhraseQuery_init(self, field, terms);
}
开发者ID:robertkrimen,项目名称:Search-Kino03,代码行数:6,代码来源:PhraseQuery.c

示例6: TestNOTQuery_new

TestNOTQuery*
TestNOTQuery_new() {
    return (TestNOTQuery*)VTable_Make_Obj(TESTNOTQUERY);
}
开发者ID:theory,项目名称:lucy,代码行数:4,代码来源:TestNOTQuery.c

示例7: DocWriter_new

DocWriter*
DocWriter_new(Schema *schema, Snapshot *snapshot, Segment *segment,
              PolyReader *polyreader) {
    DocWriter *self = (DocWriter*)VTable_Make_Obj(DOCWRITER);
    return DocWriter_init(self, schema, snapshot, segment, polyreader);
}
开发者ID:pavansondur,项目名称:lucy,代码行数:6,代码来源:DocWriter.c

示例8: ORScorer_new

ORScorer*
ORScorer_new(VArray *children, Similarity *sim) {
    ORScorer *self = (ORScorer*)VTable_Make_Obj(ORSCORER);
    return ORScorer_init(self, children, sim);
}
开发者ID:hernan604,项目名称:lucy,代码行数:5,代码来源:ORMatcher.c

示例9: ORMatcher_new

ORMatcher*
ORMatcher_new(VArray *children) {
    ORMatcher *self = (ORMatcher*)VTable_Make_Obj(ORMATCHER);
    return ORMatcher_init(self, children);
}
开发者ID:hernan604,项目名称:lucy,代码行数:5,代码来源:ORMatcher.c

示例10: SortColl_new

SortCollector*
SortColl_new(Schema *schema, SortSpec *sort_spec, uint32_t wanted) {
    SortCollector *self = (SortCollector*)VTable_Make_Obj(SORTCOLLECTOR);
    return SortColl_init(self, schema, sort_spec, wanted);
}
开发者ID:theory,项目名称:lucy,代码行数:5,代码来源:SortCollector.c

示例11: InStream_open

InStream*
InStream_open(Obj *file) {
    InStream *self = (InStream*)VTable_Make_Obj(INSTREAM);
    return InStream_do_open(self, file);
}
开发者ID:pavansondur,项目名称:lucy,代码行数:5,代码来源:InStream.c

示例12: TestAtomic_new

TestAtomic*
TestAtomic_new() {
    return (TestAtomic*)VTable_Make_Obj(TESTATOMIC);
}
开发者ID:hernan604,项目名称:lucy,代码行数:4,代码来源:TestAtomic.c

示例13: MatchPost_new

MatchPosting*
MatchPost_new(Similarity *sim) {
    MatchPosting *self = (MatchPosting*)VTable_Make_Obj(MATCHPOSTING);
    return MatchPost_init(self, sim);
}
开发者ID:hernan604,项目名称:lucy,代码行数:5,代码来源:MatchPosting.c

示例14: MatchTInfoStepper_new

MatchTermInfoStepper*
MatchTInfoStepper_new(Schema *schema) {
    MatchTermInfoStepper *self
        = (MatchTermInfoStepper*)VTable_Make_Obj(MATCHTERMINFOSTEPPER);
    return MatchTInfoStepper_init(self, schema);
}
开发者ID:hernan604,项目名称:lucy,代码行数:6,代码来源:MatchPosting.c

示例15: Hash_new

Hash*
Hash_new(uint32_t capacity) {
    Hash *self = (Hash*)VTable_Make_Obj(HASH);
    return Hash_init(self, capacity);
}
开发者ID:hernan604,项目名称:lucy,代码行数:5,代码来源:Hash.c


注:本文中的VTable_Make_Obj函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。