OLD | NEW |
1 //-***************************************************************************** | 1 //-***************************************************************************** |
2 // | 2 // |
3 // Copyright (c) 2009-2010, | 3 // Copyright (c) 2009-2010, |
4 // Sony Pictures Imageworks, Inc. and | 4 // Sony Pictures Imageworks, Inc. and |
5 // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. | 5 // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. |
6 // | 6 // |
7 // All rights reserved. | 7 // All rights reserved. |
8 // | 8 // |
9 // Redistribution and use in source and binary forms, with or without | 9 // Redistribution and use in source and binary forms, with or without |
10 // modification, are permitted provided that the following conditions are | 10 // modification, are permitted provided that the following conditions are |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 , public boost::enable_shared_from_this<AprImpl> | 52 , public boost::enable_shared_from_this<AprImpl> |
53 { | 53 { |
54 public: | 54 public: |
55 AprImpl( AbcA::CompoundPropertyReaderPtr iParent, hid_t iParentGroup, | 55 AprImpl( AbcA::CompoundPropertyReaderPtr iParent, hid_t iParentGroup, |
56 PropertyHeaderPtr iHeader, bool iIsScalarLike, | 56 PropertyHeaderPtr iHeader, bool iIsScalarLike, |
57 uint32_t iNumSamples, uint32_t iFirstChangedIndex, | 57 uint32_t iNumSamples, uint32_t iFirstChangedIndex, |
58 uint32_t iLastChangedIndex ); | 58 uint32_t iLastChangedIndex ); |
59 | 59 |
60 virtual AbcA::ArrayPropertyReaderPtr asArrayPtr(); | 60 virtual AbcA::ArrayPropertyReaderPtr asArrayPtr(); |
61 virtual bool isScalarLike(); | 61 virtual bool isScalarLike(); |
62 | 62 virtual void getDimensions( index_t iSampleIndex, Dimensions & oDim ); |
63 protected: | 63 protected: |
64 friend class SimplePrImpl<AbcA::ArrayPropertyReader, AprImpl, | 64 friend class SimplePrImpl<AbcA::ArrayPropertyReader, AprImpl, |
65 AbcA::ArraySamplePtr&>; | 65 AbcA::ArraySamplePtr&>; |
66 ···· | 66 ···· |
67 //-************************************************************************* | 67 //-************************************************************************* |
68 // This function is called by SimplePrImpl to provide the actual | 68 // This function is called by SimplePrImpl to provide the actual |
69 // property reading. | 69 // property reading. |
70 void readSample( hid_t iGroup, | 70 void readSample( hid_t iGroup, |
71 const std::string &iSampleName, | 71 const std::string &iSampleName, |
72 index_t iSampleIndex, | 72 index_t iSampleIndex, |
(...skipping 10 matching lines...) Expand all Loading... |
83 }; | 83 }; |
84 | 84 |
85 } // End namespace ALEMBIC_VERSION_NS | 85 } // End namespace ALEMBIC_VERSION_NS |
86 | 86 |
87 using namespace ALEMBIC_VERSION_NS; | 87 using namespace ALEMBIC_VERSION_NS; |
88 | 88 |
89 } // End namespace AbcCoreHDF5 | 89 } // End namespace AbcCoreHDF5 |
90 } // End namespace Alembic | 90 } // End namespace Alembic |
91 | 91 |
92 #endif | 92 #endif |
OLD | NEW |