hcf.Category

hcf.Category

Classes

Name Description
Category Category.
CategoryT CategoryT.

Category

hcf.Category.Category()

Category.

Methods

Name Description
Description Description.
GetRootAs GetRootAs.
GetRootAsCategory This method is deprecated. Please switch to GetRootAs.
Id Id.
Init Init.
ProductIdx ProductIdx.
ProductIdxAsNumpy ProductIdxAsNumpy.
ProductIdxIsNone ProductIdxIsNone.
ProductIdxLength ProductIdxLength.
Url Url.
Description

hcf.Category.Category.Description()

Description.

Parameters
Name Type Description Default
Returns required
Optional required
GetRootAs

hcf.Category.Category.GetRootAs(buf, offset=0)

GetRootAs.

Parameters
Name Type Description Default
buf buf required
offset int offset 0
GetRootAsCategory

hcf.Category.Category.GetRootAsCategory(buf, offset=0)

This method is deprecated. Please switch to GetRootAs.

Id

hcf.Category.Category.Id()

Id.

Parameters
Name Type Description Default
Returns required
Optional required
Init

hcf.Category.Category.Init(buf, pos)

Init.

Parameters
Name Type Description Default
buf bytes buf required
pos int pos required
ProductIdx

hcf.Category.Category.ProductIdx(j)

ProductIdx.

Parameters
Name Type Description Default
j int j required
ProductIdxAsNumpy

hcf.Category.Category.ProductIdxAsNumpy()

ProductIdxAsNumpy.

ProductIdxIsNone

hcf.Category.Category.ProductIdxIsNone()

ProductIdxIsNone.

Parameters
Name Type Description Default
Returns required
bool required
ProductIdxLength

hcf.Category.Category.ProductIdxLength()

ProductIdxLength.

Parameters
Name Type Description Default
Returns required
int required
Url

hcf.Category.Category.Url()

Url.

Parameters
Name Type Description Default
Returns required
Optional required

CategoryT

hcf.Category.CategoryT(self)

CategoryT.

Methods

Name Description
InitFromBuf InitFromBuf.
InitFromObj InitFromObj.
InitFromPackedBuf InitFromPackedBuf.
Pack Pack.
InitFromBuf

hcf.Category.CategoryT.InitFromBuf(buf, pos)

InitFromBuf.

Parameters
Name Type Description Default
buf buf required
pos pos required
InitFromObj

hcf.Category.CategoryT.InitFromObj(category)

InitFromObj.

Parameters
Name Type Description Default
category category required
InitFromPackedBuf

hcf.Category.CategoryT.InitFromPackedBuf(buf, pos=0)

InitFromPackedBuf.

Parameters
Name Type Description Default
buf buf required
pos pos 0
Pack

hcf.Category.CategoryT.Pack(builder)

Pack.

Parameters
Name Type Description Default
builder builder required

Functions

Name Description
AddDescription AddDescription.
AddId AddId.
AddProductIdx AddProductIdx.
AddUrl AddUrl.
CategoryAddDescription CategoryAddDescription.
CategoryAddId CategoryAddId.
CategoryAddProductIdx CategoryAddProductIdx.
CategoryAddUrl CategoryAddUrl.
CategoryEnd CategoryEnd.
CategoryStart CategoryStart.
CategoryStartProductIdxVector CategoryStartProductIdxVector.
End End.
Start Start.
StartProductIdxVector StartProductIdxVector.

AddDescription

hcf.Category.AddDescription(builder, description)

AddDescription.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
description int description required

AddId

hcf.Category.AddId(builder, id)

AddId.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
id int id required

AddProductIdx

hcf.Category.AddProductIdx(builder, productIdx)

AddProductIdx.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
productIdx int productIdx required

AddUrl

hcf.Category.AddUrl(builder, url)

AddUrl.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
url int url required

CategoryAddDescription

hcf.Category.CategoryAddDescription(builder, description)

CategoryAddDescription.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
description int description required

CategoryAddId

hcf.Category.CategoryAddId(builder, id)

CategoryAddId.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
id int id required

CategoryAddProductIdx

hcf.Category.CategoryAddProductIdx(builder, productIdx)

CategoryAddProductIdx.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
productIdx int productIdx required

CategoryAddUrl

hcf.Category.CategoryAddUrl(builder, url)

CategoryAddUrl.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required
url int url required

CategoryEnd

hcf.Category.CategoryEnd(builder)

CategoryEnd.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required

Returns

Type Description
int

CategoryStart

hcf.Category.CategoryStart(builder)

CategoryStart.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required

CategoryStartProductIdxVector

hcf.Category.CategoryStartProductIdxVector(builder, numElems)

CategoryStartProductIdxVector.

Parameters

Name Type Description Default
builder builder required
numElems int numElems required

Returns

Type Description
int

End

hcf.Category.End(builder)

End.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required

Returns

Type Description
int

Start

hcf.Category.Start(builder)

Start.

Parameters

Name Type Description Default
builder flatbuffers.Builder builder required

StartProductIdxVector

hcf.Category.StartProductIdxVector(builder, numElems)

StartProductIdxVector.

Parameters

Name Type Description Default
builder builder required
numElems int numElems required

Returns

Type Description
int