@spiceErrorCheck<EOL>def ckobj(ck, outCell=None):
assert isinstance(ck, str)<EOL>ck = stypes.stringToCharP(ck)<EOL>if not outCell:<EOL><INDENT>outCell = stypes.SPICEINT_CELL(<NUM_LIT:1000>)<EOL><DEDENT>assert isinstance(outCell, stypes.SpiceCell)<EOL>assert outCell.dtype == <NUM_LIT:2><EOL>libspice.ckobj_c(ck, ctypes.byref(outCell))<EOL>return outCell<EOL>
Find the set of ID codes of all objects in a specified CK file.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/ckobj_c.html

:param ck: Name of CK file.
:type ck: str
:param outCell: Optional user provided Spice Int cell.
:type outCell: Optional spiceypy.utils.support_types.SpiceCell
:return: Set of ID codes of objects in CK file.
:rtype: spiceypy.utils.support_types.SpiceCell